python - 在 PYPI Pip 下载中找不到 Pywin31-214

标签 python pywin32

我正在尝试使用 Pip 下载 Py32。它列在 PYPI 上:

https://pypi.python.org/pypi/pywin32/214

我正在尝试使用以下标准 pip 语法安装它:

pip2.7 install pywin32-214

这会在 Command Shell 中产生以下错误消息:

C:\Python27\Scripts>pip2.7 install pywin32-214
Downloading/unpacking pywin32-214
  Could not find any downloads that satisfy the requirement pywin32-214
Cleaning up...
No distributions at all found for pywin32-214
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log

如果我尝试使用语法:

pip2.7 install pywin32

我收到以下错误消息:

C:\Python27\Scripts>pip2.7 install pywin32
Downloading/unpacking pywin32
  Could not find any downloads that satisfy the requirement pywin32
    Some externally hosted files were ignored (use --allow-external pywin32 to allow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log

任何人都可以看到这里的问题是什么以及我如何解决它吗?

谢谢

最佳答案

除非出于某种原因特别需要从 pip 安装,否则我强烈建议您获取 pywin32 installer here来自 Christoph Gohlke 的 Python Extension Packages for Windows 存储库。一切都已经编译并准备就绪,根据我的经验,几乎所有的安装程序都可以正常工作。不过,您需要使用 python.org 版本的 Python。

关于python - 在 PYPI Pip 下载中找不到 Pywin31-214,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24497352/

相关文章:

python - 使用python for循环获取具有值的json对象

python-3.x - pywintypes.com_error : (-2147024882, 'Not enough memory resources are available to complete this operation.',无,无)

python - 使用 Python (pywin32) 或 VBA 更改 Excel 中的 Microsoft Query

python - 如何修复此 bytes 对象的编码以仅保留实际文本并删除 Python3 中的 '\x00\x05*\x00\x00\x0e\x00bjbj' ?

python - 当我运行测试时,django 如何重新定义 DJANGO_SETTINGS_MODULE?

python - Pandas 将列转换为时间

python - 为什么 os.path.exists() 会阻止 Windows 命名管道连接?

Python win32 : error

python - 在 Python 中接收 WM_COPYDATA

python - 在另一个路由 Flask 中进行表单验证