在 Plone 4.3.15 上,如何安装最新的 Stripe API



在 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/设置工具太旧了?我需要升级安装工具吗?如果是这样,怎么做?

"install_requires"必须是包含有效项目/版本要求说明符的字符串或字符串列表

是的,你的setuptools太老了。要升级:

pip install -U setuptools

也许您还需要升级pip

pip install -U pip setuptools

相关内容

  • 没有找到相关文章

最新更新