Christoph Gohlke用于Python扩展程序包的非官方Windows二进制文件的命名约定 [英] Christoph Gohlke Naming Convention for Unofficial Windows Binaries for Python Extension Packages

查看:140
本文介绍了Christoph Gohlke用于Python扩展程序包的非官方Windows二进制文件的命名约定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下位置,Python轮子使用的命名约定是什么? Christoph Gohlke针对Python扩展包的非官方Windows二进制文件?

What is the naming convention used for the Python wheels at Christoph Gohlke's Unofficial Windows Binaries for Python Extension Packages?

例如,对于scipy,这是页面上两个轮子的名称:

For example, for scipy here are two of names of wheels on the page:

scipy-0.17.0-cp27-none-win32.whl

scipy-0.17.0-cp27-none-win32.whl

scipy-0.17.0-cp27-none-win_amd64.whl

scipy-0.17.0-cp27-none-win_amd64.whl

无"表示什么?

win32和win_amd64有什么区别?

What's the difference between win32 and win_amd64?

是否使用x86或x86-64版本的Python(请参考 Python 2.7. 11 )?

Does it matter if I'm using the x86 or x86-64 version of Python (ref Python 2.7.11)?

推荐答案

实际上就是 wheel 工具命名约定" .真诚的,我不确定"none"表示什么,但是是的,您的Python版本很重要.如果您使用的是32位解释器,请继续使用win32选项(当然,在Windows下).否则,请下载64位发行版的win_amd64版本.

Actually that's the wheel tool "naming convention". Sincerely I'm not sure what "none" indicates, but yes, your Python version matters. If you're using the 32-bit interpreter, then go ahead with the win32 option (under Windows, of course). Otherwise download the win_amd64 version for 64-bit distributions.

希望有帮助!

这篇关于Christoph Gohlke用于Python扩展程序包的非官方Windows二进制文件的命名约定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆