Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/361.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/272.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
Pip安装报废-“python setup.py egg_info”失败,错误代码为1_Python_Windows_Scrapy_Pip - Fatal编程技术网

Pip安装报废-“python setup.py egg_info”失败,错误代码为1

Pip安装报废-“python setup.py egg_info”失败,错误代码为1,python,windows,scrapy,pip,Python,Windows,Scrapy,Pip,我正在尝试安装刮擦。我已经安装了Python 3.6,并且在Windows上 我试过这个: py -3.5-32 -m pip install Scrappy 但是,我们得到了以下结果: Collecting Scrappy Using cached Scrappy-0.3.0.alpha.4.tar.gz Collecting guessit (from Scrappy) Using cached guessit-2.1.2.tar.gz Collecting tvdb_api (f

我正在尝试安装刮擦。我已经安装了Python 3.6,并且在Windows上

我试过这个:

py -3.5-32 -m pip install Scrappy
但是,我们得到了以下结果:

Collecting Scrappy
  Using cached Scrappy-0.3.0.alpha.4.tar.gz
Collecting guessit (from Scrappy)
  Using cached guessit-2.1.2.tar.gz
Collecting tvdb_api (from Scrappy)
  Using cached tvdb_api-1.10.tar.gz
Collecting hachoir-metadata (from Scrappy)
  Using cached hachoir-metadata-1.3.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\USER~1.NAME\AppData\Local\Temp\pip-build-1tu2hkos\hachoir-metadata\setup.py", line 65
        except OSError, err:
                      ^
SyntaxError: invalid syntax

----------------------------------------   
Command "python setup.py egg_info" failed with error code 1 in C:\Users\USER~1.NAME\AppData\Local\Temp\pip-build-1tu2hkos\hachoir-metadata\
-u-c导入设置工具,标记化;file='C:\Users\USER~1.NAME\AppData\Local\Temp\pip-build-j6ijek3o\Twisted\setup.py';f=getAttrtTokenize, “打开”,打开文件;code=f.read.replace'\r\n', “\n”;f、 接近;execcompilecode,文件“exec”安装 -记录C:\Users\USER~1.NAME\AppData\Local\Temp\pip-bmjl\u\u 2-record\install-record.txt -外部管理的单一版本-编译失败,错误代码为1 C:\Users\USER~1.NAME\AppData\Local\Temp\pip-build-j6ijek3o\Twisted\

刮擦,不是刮擦

刮擦,不是刮擦


试着使用pip3-userI对Python比较陌生,我没听说过pip3,这就是你的意思吗py-3.5-32 pip3安装Scrapy?来自Scrapy:虽然可以使用pip在Windows上安装Scrapy,但我们建议您安装。或带2个p的刮痧看起来不像Python 3compatible@Maverick,如果您正试图安装,根据从thetvdb.com上获取的信息重命名视频文件,那么我相信您需要使用Python 2。Scrasty与Python3的语法不兼容。请尝试使用pip3-userI我对Python比较陌生,没有听说过pip3,这就是你的意思吗?-py-3.5-32 pip3安装Scrapy?来自Scrapy:虽然可以使用pip在Windows上安装Scrapy,但我们建议您安装。或带2个p的刮痧看起来不像Python 3compatible@Maverick,如果您正试图安装,根据从thetvdb.com上获取的信息重命名视频文件,那么我相信您需要使用Python 2。Scrapy与Python 3的语法不兼容。我尝试了Scrapy并得到了错误消息,请参阅更新。@Maverick阅读了我尝试了Scrapy并得到的答案,请参阅更新以获得错误消息。@Maverick阅读了这个答案
    ----------------------------------------
Command "C:\Users\user.name\AppData\Local\Programs\Python\Python35-32\python.exe
pip install Scrapy