Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/283.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python OSx:;没有名为yamlog的模块;_Python_Python 2.7 - Fatal编程技术网

Python OSx:;没有名为yamlog的模块;

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

我是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 "<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

妈的,阅读障碍真是糟糕透了。谢谢!