5

关于如何解决这个问题的任何想法?我正在使用 pip 在 Win XP Pro SP 3 机器上安装 Scrapy。我在机器上安装了 Python 2.7。pyOpenSSL 似乎有问题。我收到“找不到‘openssl.exe’”错误。

这是我的日志文件。由于其中的 URL,我不得不对其进行一些修改。


Requirement already satisfied (use --upgrade to upgrade): Scrapy in c:\python27\lib\site-packages\scrapy-0.14.4-py2.7.egg

Requirement already satisfied (use --upgrade to upgrade): Twisted>=2.5 in c:\python27\lib\site-packages (from Scrapy)

  Downloading from URL pypi.python.org/packages/source/w/w3lib/w3lib-1.2.tar.gz#md5=f929d5973a9fda59587b09a72f185a9e (from pypi.python.org/simple/w3lib/)
  Running setup.py egg_info for package w3lib

    running egg_info
    creating pip-egg-info\w3lib.egg-info
    writing pip-egg-info\w3lib.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\w3lib.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\w3lib.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\w3lib.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found


    reading manifest file 'pip-egg-info\w3lib.egg-info\SOURCES.txt'
    writing manifest file 'pip-egg-info\w3lib.egg-info\SOURCES.txt'
  Source in c:\ray\dist\pip-1.1\build\w3lib has version 1.2, which satisfies requirement w3lib (from Scrapy)
Downloading/unpacking pyOpenSSL (from Scrapy)


  Downloading from URL pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz#md5=767bca18a71178ca353dff9e10941929 (from pypi.python.org/simple/pyOpenSSL/)
  Running setup.py egg_info for package pyOpenSSL

    running egg_info
    creating pip-egg-info\pyOpenSSL.egg-info
    writing pip-egg-info\pyOpenSSL.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\pyOpenSSL.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\pyOpenSSL.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\pyOpenSSL.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found


    error: Could not find 'openssl.exe'

命令 python setup.py egg_info 的完整输出:

running egg_info

creating pip-egg-info\pyOpenSSL.egg-info

writing pip-egg-info\pyOpenSSL.egg-info\PKG-INFO

writing top-level names to pip-egg-info\pyOpenSSL.egg-info\top_level.txt

writing dependency_links to pip-egg-info\pyOpenSSL.egg-info\dependency_links.txt

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

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



error: Could not find 'openssl.exe'

Command python setup.py egg_info failed with error code 1 in C:\Ray\dist\pip-1.1\build\pyOpenSSL

Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\basecommand.py", line 104, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\commands\install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\req.py", line 1009, in prepare_files
    req_to_install.run_egg_info()
  File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\req.py", line 225, in run_egg_info
    command_desc='python setup.py egg_info')
  File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\__init__.py", line 256, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in C:\Ray\dist\pip-1.1\build\pyOpenSSL
4

1 回答 1

9

您可以转到http://pypi.python.org/pypi/pyOpenSSL/0.13并下载 Windows 安装程序,然后继续您的 scrapy 安装。

于 2012-05-28T02:45:27.397 回答