Python PIP 找不到 pywin32(在 windows 上)

标签 python python-3.x pip

我已经安装了python 3.5,还需要安装pywin(pywin32)

但是,pip 找不到它。请注意,我刚刚成功地通过 PIP 安装了 send2trash 和 gitpython

 Could not find a version that satisfies the requirement pywin32 (from versions: )

一些可能相关的数据 pip :

  • 新安装python 3.5
  • Windows 7 x64
  • 之前机器上安装了python 2.7
  • 如前所述,通过 PIP 安装了其他几个软件包
  • 从 git-bash 运行这些命令,这些命令来自 git windows 安装程序,已安装好一段时间了。 -- 我的路径中有 gnu grep,所以我相信我选择了 git 安装程序选项以将整个 mysys 工具链放在我的路径中

完整 --verbose 输出:

C:\Users\USER>pip install  pywin32    --proxy http://proxy.COMPANY.com:8080
Collecting pywin32
  Could not find a version that satisfies the requirement pywin32 (from versions: )
No matching distribution found for pywin32

C:\Users\USER>pip install  pywin32    --proxy http://proxy.COMPANY.com:8080 --verbose
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
Collecting pywin32
  1 location(s) to search for versions of pywin32:
  * https://pypi.python.org/simple/pywin32/
  Getting page https://pypi.python.org/simple/pywin32/
  Looking up "https://pypi.python.org/simple/pywin32/" in the cache
  Current age based on date: 61
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 61
  Analyzing links from page https://pypi.python.org/simple/pywin32/
  Could not find a version that satisfies the requirement pywin32 (from versions: )
Cleaning up...
No matching distribution found for pywin32
Exception information:
Traceback (most recent call last):
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\commands\install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\req\req_set.py", line 554, in _prepare_file
    require_hashes
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\req\req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "c:\users\USER\appdata\local\programs\python\python35\lib\site-packages\pip\index.py", line 514, in find_requirement
    'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for pywin32 

最佳答案

关于Python PIP 找不到 pywin32(在 windows 上),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40981120/

相关文章:

python - 无法将字典发送到 RabbitMQ(不可散列类型 : 'slice' )

python - 如何获取 Python uwsgi 应用程序的当前 URL?

python-3.x - 使用 uvicorn.run 启动服务时,FastAPI 服务结果为 404

python身份危机为什么l或x复制0而不产生新的0

python - pandas read_excel 共享违规

python - 在 pip 中指定模块所需的最低 python 版本

python - Django : Fail to redirecting main page after deleting object

python - 多个线程可以使用同一个端口吗

python - 无法安装 Statsmodels...python

python - Windows终端中的 'py'和 'python'有什么区别?