V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jeanim
V2EX  ›  Python

求 Intel® Distribution for Python 的 Python27 老版本

  •  
  •   jeanim · 241 天前 · 1170 次点击
    这是一个创建于 241 天前的主题,其中的信息可能已经有所发展或是发生改变。
    目前最新为 python39 ,需要 python27 的版本,需要编译 numpy 老版本用

    官网地址: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#python

    但无法下载到老的版本了

    感谢~~~
    第 1 条附言  ·  240 天前
    忘记说了,需要 windows 版本
    14 条回复    2023-09-03 17:45:53 +08:00
    wdlth
        1
    wdlth  
       240 天前
    jeanim
        2
    jeanim  
    OP
       240 天前
    @wdlth 谢谢老哥,忘记说了,求 windows 版本哈
    wdlth
        3
    wdlth  
       240 天前
    @jeanim 找到了,站内就有

    https://www.v2ex.com/t/369705
    dayeye2006199
        4
    dayeye2006199  
       240 天前 via Android
    这是要应对什么场景?好奇…这都 2023 年了
    jeanim
        5
    jeanim  
    OP
       240 天前
    @wdlth 感谢感谢,我昨天搜了,但没搜到这个贴,google 到的第一条打不开
    jeanim
        6
    jeanim  
    OP
       240 天前
    @dayeye2006199 CG 软件还有很多 python27 的场景,然后 numpy 不同版本区别较大,各个公司间的版本不统一就会导致冲突,然后就需要自己把 numpy 改成 xxx_numpy 来编译,隔离下其他公司的 numpy 版本。
    jeanim
        7
    jeanim  
    OP
       240 天前
    @dayeye2006199 numpy 官方也推荐用这个包来编译,我 39 版编译 numpy 最新版 ok 的,然后死活找不到 27 版
    dicc
        8
    dicc  
       240 天前
    http://www.lfd.uci.edu/~gohlke/pythonlibs/ 不是可以直接下载编译好的么
    jeanim
        9
    jeanim  
    OP
       239 天前
    @dicc numpy 各个版本的差异比较大,不同工具所用的 numpy 版本会出现不一致,导致能用 A 工具,B 工具失效,能用 B 工具,A 工具失效的情况,所以我们需要自己编译不叫 numpy 的名称的版本,和其他工具所用的 numpy 做下隔离,比如:
    A 工具,import a_numpy 我们的工具
    B 工具,import numpy
    这样两个工具才能共存

    是不是很蛋疼的问题,o(╥﹏╥)o
    jeanim
        10
    jeanim  
    OP
       239 天前
    @wdlth 又有新的问题了,IntelPython2017.update3 是 2.7.13 版本,而 maya2017-2022 python2 是 2.7.11 版本,而用 2.7.13 编译出的 numpy ,在 2.7.11 中无法导入。但 IntelPython2023.2 python3.9.16 编译出的版本,maya 2023 python3.9.7 是能用的

    ps ,我们最终目的要编译成 xxxx_numpy 这样的包名,适配 maya python27 的环境,所以会 git checkout v1.13.1 版本后,替换所有 numpy 成 xxxx_numpy ,再进行编译。
    jeanim
        11
    jeanim  
    OP
       239 天前
    @dicc A 工具 B 工具,import 不同版本的 numpy ,且各个工具来自 N 个不同公司,没法协调,所以作为 A 工具的我们,需要做下版本隔离。
    wdlth
        12
    wdlth  
       239 天前
    @jeanim 有没有错误提示?用 Process Monitor 看一下是不是加载一些依赖文件失败了。
    jeanim
        13
    jeanim  
    OP
       238 天前
    @wdlth <a href="https://ibb.co/QPzYTbV"><img src="https://i.ibb.co/1rhRPvN/QQ-20230903172656.jpg" alt="QQ-20230903172656" border="0"></a>
    Error: ImportError: file E:\codes\github\numpy\numpy\numpy\core\__init__.py line 14: DLL load failed: The specified module could not be found. #
    jeanim
        14
    jeanim  
    OP
       238 天前
    @wdlth

    https://i.ibb.co/kJM01T3/QQ-20230903174136.jpg
    # Error: ImportError: file E:\codes\github\numpy\numpy\numpy\core\__init__.py line 14: DLL load failed: A dynamic link library (DLL) initialization routine failed. #

    Maya Python:Python 2.7.11 (default, Jul 1 2016, 02:08:48) [MSC v.1900 64 bit (AMD64)] on win32
    Intel Python: Python 2.7.13 |Intel Corporation| (default, Apr 27 2017, 20:29:58) [MSC v.1500 64 bit (AMD64)] on win32
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3162 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.