На Plone 4.3.15, как установить последний API Stripe - PullRequest
1 голос
/ 11 июля 2019

На Plone 4.3.15 (Универсальная установка) установить полосу 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?Если да, то как это можно сделать?

1 Ответ

1 голос
/ 11 июля 2019

'install_requires' должен быть строкой или списком строк, содержащих допустимые спецификаторы требований проекта / версии

Да, ваш setuptools слишком стар. Для обновления:

pip install -U setuptools

Возможно, вам также необходимо обновить pip:

pip install -U pip setuptools
...