Orange Forum • View topic - C45.dll not found

C45.dll not found

A place to ask questions about methods in Orange and how they are used and other general support.

C45.dll not found

Postby evertonw » Sun May 03, 2009 10:24

I place the C45 widget on the canvas and I get dll not found error.
I have tried downloading c45.dll from orange site. But should be placed?

Postby shears » Fri Jan 14, 2011 22:36

i have the same problem (on OS X 10.6.6, with Orange build 13. jan 2011)

Postby Ales » Fri Jan 14, 2011 23:29

See http://www.ailab.si/orange/doc/reference/C45Learner.htm ("Building the C4.5 plug-in" part)

Postby shears » Tue Jan 18, 2011 15:40

I tried that method but when I run the buildC45.py script, it stops with an error:

Code: Select all
cd '/Users/USERNAME/Downloads/C4.5/R8/Src/' && '/usr/local/bin/pythonw'  '/Users/USERNAME/Downloads/C4.5/R8/Src/buildC45.py'  && echo Exit status: $? && exit 1
[1:USERNAME@COMPUTERNAME] > [18.01.2011 - 15:38:31]
in/pythonw'  '/Users/USERNAME/Downloads/C4.5/R8/Src/buildC45.py'  && echo Exit status: $? && exit 1
Traceback (most recent call last):
  File "/Users/USERNAME/Downloads/C4.5/R8/Src/buildC45.py", line 33, in <module>
    import orange
ImportError: No module named orange

Postby Ales » Wed Jan 19, 2011 11:38

Make sure you run the buildC45.py script with the python that has the orange installed. For instance if you want to build the C45 extension for Mac OSX bundle distribution run
Code: Select all
/Applications/Orange.app/Contents/MacOS/python  buildC45.py

assuming the bundle is installed in the /Applications folder

Re:

Postby joes » Mon Oct 31, 2011 21:44

Ales wrote:Make sure you run the buildC45.py script with the python that has the orange installed. For instance if you want to build the C45 extension for Mac OSX bundle distribution run
Code: Select all
/Applications/Orange.app/Contents/MacOS/python  buildC45.py

assuming the bundle is installed in the /Applications folder


hmm
and this should work? I'm new to mac so i am actually not sure what im doing :D :D :D :mrgreen:

Re: C45.dll not found

Postby rrrmmm » Fri Nov 25, 2011 12:48

Hello @joes.. i had this problem C45 dll not found...yes..its worked ..it tested on myself...

Re: C45.dll not found

Postby oleczek » Wed Jan 25, 2012 17:46

I think it doesn't work at this moment. Build from 25 Jan 2012. Mac os X Lion. Can someone confirm?

I did it along with the instructions from above.

Re: C45.dll not found

Postby Ales » Fri Jan 27, 2012 15:00

Yes it does not work.
I had to change line 77 of the buildc45.py script to
Code: Select all
    ret = os.system('gcc -F. -bundle -arch i386 -O3 ensemble.c -o %s/c45.so' % orangedir)
Can you try changing it and then run the script again to see if you have the same problem?

Re: C45.dll not found

Postby oleczek » Thu Feb 02, 2012 1:40

Ales,

yes, this fix works! Of course compiling with the bundled python version as described before.

Thank you very much one more time!

Regards,
oleczek


Return to Questions & Support