pip 安装错误 Command "python setup.py egg_info" failed with error code

python setup.py install


File "setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax

 

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py

python get-pip.py

pip install --upgrade setuptools

posted @ 2023-06-05 14:28  walkersss  阅读(77)  评论(0编辑  收藏  举报