在 Plone 4.3.15 上,如何安装最新的 Stripe API [英] On Plone 4.3.15, how to install latest Stripe's API
本文介绍了在 Plone 4.3.15 上,如何安装最新的 Stripe API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Plone 4.3.15(通用安装)上,无法安装stripe 2.32.1.查看日志:
On Plone 4.3.15 (Universal installation), it is not possible to install stripe 2.32.1. See logs :
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 吗?如果是这样,怎么做?
It seems that easy_install / Setuptools is too old ? Do I need to upgrade Setuptool ? If so, how can it be done ?
推荐答案
'install_requires' 必须是包含有效项目/版本要求说明符的字符串或字符串列表
'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
是的,您的 setuptools
太旧了.升级:
Yes, your setuptools
is too old. To upgrade:
pip install -U setuptools
也许你还需要升级pip
:
pip install -U pip setuptools
这篇关于在 Plone 4.3.15 上,如何安装最新的 Stripe API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文