我在 Mac OS X 上运行 Python,并尝试使用 Orange 包。
我已经安装了捆绑包,但无法导入 Orange 包。我尝试删除并重新安装所有内容,但仍然收到错误消息:
Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 20:34:45)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> import sys
>>> import Orange
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import Orange
ImportError: No module named Orange
>>> import Orange
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import Orange
ImportError: No module named Orange
>>> import orange
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
import orange
ImportError: No module named orange
有一个类似的线程(Importing Orange 返回 "ImportError: no module named orange"),但唯一的建议是使用小写的橙色。不幸的是,这并不能解决问题。有什么建议吗?
谢谢!