Orange Forum • View topic - Where are statisticsc and _orngCRS?

Where are statisticsc and _orngCRS?

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Where are statisticsc and _orngCRS?

Postby jgilbert » Fri Mar 04, 2005 15:54

I'm running on Linux.

In, lines 301 and 305 are:
import statisticsc
Where can I get this module?

When I try import orngCRS (or orngDendrogram, or orngCluster) I get an ImportError for _orngCRS. Where can I find this module?


Postby Aleks » Tue Mar 08, 2005 8:23

for orngCRS, it's all over here:

for statisticsc:
you can use orngContingency without those calls.

Postby jgilbert » Wed Mar 09, 2005 17:17

With _orngCRS, your provide a _orngCRS.pyd. I am not familiar with this format, but I do know that if I am in a directory with _orngCRS.pyd and I run python:
Code: Select all
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _orngCRS
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named _orngCRS

Now, I would think that that should work. Why doesn't it?

With orngContingency, I know I can avoid those calls, but why include them if they don't work? Since it only seems to calculate a chi squared value, we can get a module that provides that functionality (

Postby Aleks » Wed Mar 09, 2005 21:33

PYD is the binary win32 DLL. This useless for Linux, one needs to build it from the source that's on the web page above.

Postby Guest » Wed Mar 09, 2005 23:14

That explains it, thank you.

After a few changes in the Makefile (I'm using python2.3 and gcc33) I was able to python install.

Again, thank you.

Return to Bugs