Python OSx:;没有名为yamlog的模块;
我是python的新手,尝试安装Theano。 因此,我运行了Python OSx:;没有名为yamlog的模块;,python,python-2.7,Python,Python 2.7,我是python的新手,尝试安装Theano。 因此,我运行了$pip install numpy scipy。 Pip似乎是最新的,但我总是收到相同的错误: Collecting scripy Using cached Scripy-0.9.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<str
$pip install numpy scipy
。
Pip似乎是最新的,但我总是收到相同的错误:
Collecting scripy
Using cached Scripy-0.9.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip-build-ZdGtpP/scripy/setup.py", line 96, in <module>
description=get_description(packages[0], PACKAGE_DIR),
File "/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip-build-ZdGtpP/scripy/setup.py", line 47, in get_description
pkg = __import__(package, level=1)
File "/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip-build-ZdGtpP/scripy/lib/scripy/__init__.py", line 11, in <module>
from .edit import *
File "/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip-build-ZdGtpP/scripy/lib/scripy/edit.py", line 18, in <module>
import yamlog
ImportError: No module named yamlog
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip-build-ZdGtpP/scripy/
收集垃圾
使用缓存的Scripy-0.9.3.tar.gz
从命令python setup.py egg_info完成输出:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip build ZdGtpP/scripy/setup.py”,第96行,在
description=获取描述(包[0],包目录),
文件“/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip build ZdGtpP/scripy/setup.py”,第47行,在get_说明中
包装=导入(包装,级别=1)
文件“/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip build ZdGtpP/scripy/lib/scripy/_init_u.py”,第11行
从。编辑导入*
文件“/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip build ZdGtpP/scripy/lib/scripy/edit.py”,第18行,在
导入yamlog
ImportError:没有名为yamlog的模块
----------------------------------------
命令“python setup.py egg_info”在/private/var/folders/lk/v92bv9gs51x55nwp0cspt3xw0000gn/T/pip build ZdGtpP/scripy中失败,错误代码为1/
我做错了什么
非常感谢 否,您必须键入:
pip install numpy scripy # <-- should be `scipy`
pip install numpy scripy#您没有指定发行版和版本,但是如果您使用的是python 2.7,我想这可能会起作用
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
sudo pip install Theano
妈的,阅读障碍真是糟糕透了。谢谢!