Orange Forum • View topic - installation problem

installation problem

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

installation problem

Postby myamzen » Thu Apr 26, 2012 0:40

Hello everyone

I have a snow leopard mac
and I have python 2.7 I tried to download Bundle. The thing is that
I cannot import orange ??? what should I do, and is there a different
file I have to download all I could see is orange.app


Re: installation problem

Postby myamzen » Mon Apr 30, 2012 23:53

Thanks the first seems to work.
But I still cannot run any python scripts that use
orange modules :(
python lenses.py for example yields:


File "lenses.py", line 7, in <module>
import orange
ImportError: No module named orange


Is there a way to run python script on the correct python program
just like the tutorial ?

Re: installation problem

Postby Ales » Thu May 03, 2012 9:31

Try also adding "/Applications/Orange.app/Contents/Resources/Orange/orng/" to PYTHONPATH
Code: Select all
export PYTHONPATH=/Applications/Orange.app/Contents/Resources:/Applications/Orange.app/Contents/Resources/Orange/orng
python


Return to Questions & Support



cron