Pip安装无错误代码255

2021-04-11 15:08:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在我的Windows10系统上安装Python2.7.9,64位到pip install theano。但每次我都会收到一条消息:

Command "python setup.py egg_info" failed with error code 255 in c:\users\sunny\appdata\local\temp\pip-build-lwmpfg\theano\

然后一个窗口显示python.exe has stopped working。在

我的系统有什么问题?如何在Windows系统上安装NO?请参阅编辑2!在

编辑:这是完整的终端实例

C:\Users\sunny>pip install theano
Collecting theano
  Using cached Theano-0.8.2.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info\Theano.egg-info
    writing requirements to pip-egg-info\Theano.egg-info\requires.txt
    writing pip-egg-info\Theano.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\Theano.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\Theano.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: manifest_maker: MANIFEST.in, line 9: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

    writing manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 255 in c:\users\sunny\appdata\local\temp\pip-build-dwordf\theano\

C:\Users\sunny>

编辑2:似乎pip install命令本身是有问题的,因为使用它可以使python.exe has stopped working与包无关

^{pr2}$