0

我想使用 Scrapy、Anaconda3 Python 3.4 64bit for Win 7 测试我的想法,但无法安装 Scrapy。它让我疯狂。zope.interface 内部似乎存在一些问题,但 zope.interface 支持 Python 3.4。我无法弄清楚它运行 build_ext 时会发生什么。我在网上找不到任何与此相同的问题,我现在不知道该怎么办。请你帮帮我好吗?谢谢你。

错误日志在这里:

------------------------------------------------------------
C:\Anaconda3\Scripts\pip-script.py run on 08/22/14 14:41:56
Requirement already satisfied (use --upgrade to upgrade): scrapy in c:\anaconda3\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): Twisted>=10.0.0 in c:\anaconda3\lib\site-packages (from scrapy)
Requirement already satisfied (use --upgrade to upgrade): w3lib>=1.8.0 in c:\anaconda3\lib\site-packages (from scrapy)
Requirement already satisfied (use --upgrade to upgrade): queuelib in c:\anaconda3\lib\site-packages (from scrapy)
Requirement already satisfied (use --upgrade to upgrade): lxml in c:\anaconda3\lib\site-packages (from scrapy)
  skipping extra source
  skipping extra html5
  skipping extra cssselect
  skipping extra htmlsoup
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in c:\anaconda3\lib\site-packages (from scrapy)
Requirement already satisfied (use --upgrade to upgrade): cssselect>=0.9 in c:\anaconda3\lib\site-packages (from scrapy)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in c:\anaconda3\lib\site-packages (from scrapy)
Downloading/unpacking zope.interface>=4.0.2 (from Twisted>=10.0.0->scrapy)
  Getting page https://pypi.python.org/simple/zope.interface/
  URLs to search for versions for zope.interface>=4.0.2 (from Twisted>=10.0.0->scrapy):
  * https://pypi.python.org/simple/zope.interface/
  Analyzing links from page https://pypi.python.org/simple/zope.interface/
      Using version 4.1.1 (newest of versions: 4.1.1, 4.1.0, 4.0.5, 4.0.4, 4.0.3, 4.0.2)
  Downloading from URL https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.1.tar.gz#md5=edcd5f719c5eb2e18894c4d06e29b6c6 (from https://pypi.python.org/simple/zope.interface/)
  Running setup.py (path:C:\Users\lyh\AppData\Local\Temp\pip_build_lyh\zope.interface\setup.py) egg_info for package zope.interface
    running egg_info
    creating pip-egg-info\zope.interface.egg-info
    writing requirements to pip-egg-info\zope.interface.egg-info\requires.txt
    writing top-level names to pip-egg-info\zope.interface.egg-info\top_level.txt
    writing pip-egg-info\zope.interface.egg-info\PKG-INFO
    writing namespace_packages to pip-egg-info\zope.interface.egg-info\namespace_packages.txt
    writing dependency_links to pip-egg-info\zope.interface.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\zope.interface.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info\zope.interface.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    writing manifest file 'pip-egg-info\zope.interface.egg-info\SOURCES.txt'
  Source in c:\users\lyh\appdata\local\temp\pip_build_lyh\zope.interface has version 4.1.1, which satisfies requirement zope.interface>=4.0.2 (from Twisted>=10.0.0->scrapy)
  skipping extra docs
  skipping extra docs
  skipping extra test
  skipping extra testing
  skipping extra testing
  skipping extra testing
Requirement already satisfied (use --upgrade to upgrade): cryptography>=0.2.1 in c:\anaconda3\lib\site-packages (from pyOpenSSL->scrapy)
Requirement already satisfied (use --upgrade to upgrade): setuptools in c:\anaconda3\lib\site-packages\setuptools-3.6-py3.4.egg (from zope.interface>=4.0.2->Twisted>=10.0.0->scrapy)
Installing collected packages: zope.interface
  Running setup.py install for zope.interface
    Running command C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\lyh\\AppData\\Local\\Temp\\pip_build_lyh\\zope.interface\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\lyh\AppData\Local\Temp\pip-1sxsfc0j-record\install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.4
    creating build\lib.win-amd64-3.4\zope
    copying src\zope\__init__.py -> build\lib.win-amd64-3.4\zope
    creating build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\adapter.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\advice.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\declarations.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\document.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\exceptions.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\interface.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\interfaces.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\registry.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\ro.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\verify.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\_compat.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\_flatten.py -> build\lib.win-amd64-3.4\zope\interface
    copying src\zope\interface\__init__.py -> build\lib.win-amd64-3.4\zope\interface
    creating build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\advisory_testing.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\dummy.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\idummy.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\ifoo.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\ifoo_other.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\m1.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\m2.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\odd.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_adapter.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_advice.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_declarations.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_document.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_element.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_exceptions.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_interface.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_interfaces.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_odd_declarations.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_registry.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_sorting.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\test_verify.py -> build\lib.win-amd64-3.4\zope\interface\tests
    copying src\zope\interface\tests\__init__.py -> build\lib.win-amd64-3.4\zope\interface\tests
    running egg_info
    writing namespace_packages to src\zope.interface.egg-info\namespace_packages.txt
    writing dependency_links to src\zope.interface.egg-info\dependency_links.txt
    writing src\zope.interface.egg-info\PKG-INFO
    writing requirements to src\zope.interface.egg-info\requires.txt
    writing top-level names to src\zope.interface.egg-info\top_level.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'src\zope.interface.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    writing manifest file 'src\zope.interface.egg-info\SOURCES.txt'
    copying src\zope\interface\_zope_interface_coptimizations.c -> build\lib.win-amd64-3.4\zope\interface
    creating build\lib.win-amd64-3.4\zope\interface\common
    copying src\zope\interface\common\__init__.py -> build\lib.win-amd64-3.4\zope\interface\common
    copying src\zope\interface\common\idatetime.py -> build\lib.win-amd64-3.4\zope\interface\common
    copying src\zope\interface\common\interfaces.py -> build\lib.win-amd64-3.4\zope\interface\common
    copying src\zope\interface\common\mapping.py -> build\lib.win-amd64-3.4\zope\interface\common
    copying src\zope\interface\common\sequence.py -> build\lib.win-amd64-3.4\zope\interface\common
    creating build\lib.win-amd64-3.4\zope\interface\common\tests
    copying src\zope\interface\common\tests\__init__.py -> build\lib.win-amd64-3.4\zope\interface\common\tests
    copying src\zope\interface\common\tests\basemapping.py -> build\lib.win-amd64-3.4\zope\interface\common\tests
    copying src\zope\interface\common\tests\test_idatetime.py -> build\lib.win-amd64-3.4\zope\interface\common\tests
    copying src\zope\interface\common\tests\test_import_interfaces.py -> build\lib.win-amd64-3.4\zope\interface\common\tests
    running build_ext
    error: [WinError 2] 系统找不到指定的文件。
    Complete output from command C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\lyh\\AppData\\Local\\Temp\\pip_build_lyh\\zope.interface\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\lyh\AppData\Local\Temp\pip-1sxsfc0j-record\install-record.txt --single-version-externally-managed --compile:
    running install

running build

running build_py

creating build

creating build\lib.win-amd64-3.4

creating build\lib.win-amd64-3.4\zope

copying src\zope\__init__.py -> build\lib.win-amd64-3.4\zope

creating build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\adapter.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\advice.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\declarations.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\document.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\exceptions.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\interface.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\interfaces.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\registry.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\ro.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\verify.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\_compat.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\_flatten.py -> build\lib.win-amd64-3.4\zope\interface

copying src\zope\interface\__init__.py -> build\lib.win-amd64-3.4\zope\interface

creating build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\advisory_testing.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\dummy.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\idummy.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\ifoo.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\ifoo_other.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\m1.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\m2.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\odd.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_adapter.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_advice.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_declarations.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_document.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_element.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_exceptions.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_interface.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_interfaces.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_odd_declarations.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_registry.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_sorting.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\test_verify.py -> build\lib.win-amd64-3.4\zope\interface\tests

copying src\zope\interface\tests\__init__.py -> build\lib.win-amd64-3.4\zope\interface\tests

running egg_info

writing namespace_packages to src\zope.interface.egg-info\namespace_packages.txt

writing dependency_links to src\zope.interface.egg-info\dependency_links.txt

writing src\zope.interface.egg-info\PKG-INFO

writing requirements to src\zope.interface.egg-info\requires.txt

writing top-level names to src\zope.interface.egg-info\top_level.txt

warning: manifest_maker: standard file '-c' not found



reading manifest file 'src\zope.interface.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no previously-included files matching '*.dll' found anywhere in distribution

warning: no previously-included files matching '*.pyc' found anywhere in distribution

warning: no previously-included files matching '*.pyo' found anywhere in distribution

warning: no previously-included files matching '*.so' found anywhere in distribution

writing manifest file 'src\zope.interface.egg-info\SOURCES.txt'

copying src\zope\interface\_zope_interface_coptimizations.c -> build\lib.win-amd64-3.4\zope\interface

creating build\lib.win-amd64-3.4\zope\interface\common

copying src\zope\interface\common\__init__.py -> build\lib.win-amd64-3.4\zope\interface\common

copying src\zope\interface\common\idatetime.py -> build\lib.win-amd64-3.4\zope\interface\common

copying src\zope\interface\common\interfaces.py -> build\lib.win-amd64-3.4\zope\interface\common

copying src\zope\interface\common\mapping.py -> build\lib.win-amd64-3.4\zope\interface\common

copying src\zope\interface\common\sequence.py -> build\lib.win-amd64-3.4\zope\interface\common

creating build\lib.win-amd64-3.4\zope\interface\common\tests

copying src\zope\interface\common\tests\__init__.py -> build\lib.win-amd64-3.4\zope\interface\common\tests

copying src\zope\interface\common\tests\basemapping.py -> build\lib.win-amd64-3.4\zope\interface\common\tests

copying src\zope\interface\common\tests\test_idatetime.py -> build\lib.win-amd64-3.4\zope\interface\common\tests

copying src\zope\interface\common\tests\test_import_interfaces.py -> build\lib.win-amd64-3.4\zope\interface\common\tests

running build_ext

error: [WinError 2] 系统找不到指定的文件。

----------------------------------------
Cleaning up...
  Removing temporary dir C:\Users\lyh\AppData\Local\Temp\pip_build_lyh...
Command C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\lyh\\AppData\\Local\\Temp\\pip_build_lyh\\zope.interface\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\lyh\AppData\Local\Temp\pip-1sxsfc0j-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\lyh\AppData\Local\Temp\pip_build_lyh\zope.interface
Exception information:
Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "C:\Anaconda3\lib\site-packages\pip\req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "C:\Anaconda3\lib\site-packages\pip\req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "C:\Anaconda3\lib\site-packages\pip\util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\lyh\\AppData\\Local\\Temp\\pip_build_lyh\\zope.interface\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\lyh\AppData\Local\Temp\pip-1sxsfc0j-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\lyh\AppData\Local\Temp\pip_build_lyh\zope.interface
4

0 回答 0