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
chawuchiren
V2EX  ›  Python

求助,哪位大佬有 alipay-sdk- Python 这个包 支持 python2 的。

  •  
  •   chawuchiren · 2021-02-25 18:41:11 +08:00 · 1541 次点击
    这是一个创建于 1127 天前的主题,其中的信息可能已经有所发展或是发生改变。
    求助,哪位大佬有 alipay-sdk-python 这个包 支持 python2 的。最新的 alipay-sdk-python 3.3.398 不太行。找了几个源 发现只有 3.0.0 最低的版本了,之前的项目是 python2 写的,不能用 3 编译。不知道是不是小弟弄错了。
    3 条回复    2021-02-26 16:02:27 +08:00
    mu666
        1
    mu666  
       2021-02-25 19:57:02 +08:00 via Android
    我昨天还装了,py2 可以直接装的吧
    hellojiayounokim
        2
    hellojiayounokim  
       2021-02-25 20:00:16 +08:00
    求助,哪位大佬有 alipay-sdk-python 这个包 支持 python2 的。最新的 alipay-sdk-python 3.3.398 不太行。找了几个源 发现只有 3.0.0 最低的版本了,之前的项目是 python2 写的,不能用 3 编译。不知道是不是小弟弄错了。
    chawuchiren
        3
    chawuchiren  
    OP
       2021-02-26 16:02:27 +08:00
    @mu666 我弄好了,原因是因为 alipay 引用了 rsa 默认找到了最新的 rsa4.7.1,不支持 py2 编译,我固定了 rsa 版本到 4.0 就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5430 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:49 · PVG 16:49 · LAX 01:49 · JFK 04:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.