【发布时间】:2019-07-11 13:45:30
【问题描述】:
在 Plone 4.3.15(通用安装)上,无法安装 stripe 2.32.1。 查看日志:
Getting distribution for 'stripe==2.32.1'.
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
error: Setup script exited with error in stripe setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
An error occurred when trying to install stripe 2.32.1. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'stripe==2.32.1'.
Error: Couldn't install: stripe 2.32.1
好像easy_install / Setuptools 太旧了? 我需要升级 Setuptool 吗?如果可以,怎么办?
【问题讨论】:
标签: python-2.7 stripe-payments plone setuptools plone-4.x