pipのインストールとPythonの依存関係の問題

pipのインストールとPythonの依存関係の問題

RHEL 7.6サーバーにpip(pip 20.1.1)をインストールしています。

tar -xvzf pip-20.1.1.tar.gz -C /install
cd /install/pip-20.1.1
python setup.py install

私達は例外を得ます

/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'

warning.warn(msg)

Traceback (most recent call last):

File stup.py line 87 in module

python_requires => 2.7, !=3, !=3.1, !=3.2, !=3.3, !=3.4

次のPythonバージョンがインストールされているので、この例外が発生する理由がわかりません。

python python2 python2.7 python2.7-config python-config python3 python-config

インストールツールのバージョンは次のとおりです。

easy_install --version
setuptools 44.1.1 from /usr/lib/python2.7/site-packages (Python 2.7)

ベストアンサー1

おすすめ記事