1

I'm trying to install Orange on my laptop, and it gives me this error message when I type:

import Orange

Traceback (most recent call last): File "", line 1, in ImportError: No module named Orange

I've checked other answers, and my path seems to have the Orange directory in it, and I'm using a capital letter. It worked perfectly fine on the desktop, so I'm not sure where I'm going wrong. Also, Orange Canvas won't even open, which I assume is a related issue to this but I may be wrong. Any help would be greatly appreciated.

Here are the results from sys.path:

'C:\windows\system32\python27.zip', 'C:\Python27\lib\site-packages\Orange\orng', 'C:\csvn\Python25\DLLs', 'C:\csvn\Python25\lib', 'C:\csvn\Python25\lib\plat-win', 'C:\csvn\Python25\lib\lib-tk', 'C:\Python27\Lib\site-packages\pythonwin', 'C:\csvn\Python25', 'C:\csvn\Python25\lib\site-packages', 'C:\csvn\Python25\lib\site-packages\win32', 'C:\csvn\Python25\lib\site-packages\win32\lib', 'C:\csvn\Python25\lib\site-packages\Pythonwin'

Thanks!

4

1 に答える 1

0

モジュール名はオレンジ色に少し o が付きます。Python では大文字と小文字が区別されるため、オレンジ != オレンジです (他のほとんどのプログラミング言語と同様)。

RTM http://orange.biolab.si/doc/ofb/start.htm :)

import orange
于 2014-03-08T04:43:14.490 に答える