zoukankan      html  css  js  c++  java
  • Python 第三方库 cp27、cp35 等文件名的含义

    What does version name ‘cp27’ or ‘cp35’ mean in Python?

    如对于 gensim-0.12.4-cp27-none-win_amd64.whl文件名而言,将其文件名拆分的话,含义分别是:

    • 0.12.4 - package version, they may be using semantic versioning
    • cp27 - this package is for CPython. IronPython, Jython, or PyPy will probably be unhappy.
      • CPython version 2.7.
    • none - no feature of this package depends on the python Application Binary Interface, or ABI
    • win_amd64 - this has been compiled for 64-bit Windows. That means that it probably has some code written in C/C++
    • .whl - that means this is a wheel distribution. Which is handy, because it means if you’re running CPython 2.7 64-bit on Windows, and assuming you have pip installed, all you have to do to get this package is run: py -2.7 -m pip install –use-wheel gensim (assuming that it’s available on pypi, of course). You may need to py -2.7 -m pip install wheel first. But other than that, that should be all it takes.
  • 相关阅读:
    纪伯伦:我曾七次鄙视我的灵魂
    字典和集合
    元组
    列表
    字符串
    数值类型
    内置函数了解一下
    了解Python
    centos7安装mysql数据库
    xenserver 上传centos6.8镜像
  • 原文地址:https://www.cnblogs.com/mtcnn/p/9421998.html
Copyright © 2011-2022 走看看