环境:
python -- version
Python 3.9.1
pip --version
pip 24.2
pip show pipenv
2024.0.1
pip show setuptools
73.0.0
未成功的解决方案:
升级各个版本:
pip install --upgrade pip setuptools
pip install --upgrade pipenv
pipenv --clear
pipenv install --skip-lock
pip install pakaging ==21.0
最终有效的解决方案:
pip install packaging==22.0
引用:
https://github.com/pypa/pipenv/issues/6205#issuecomment-2284132100
标签:TypeError,keyword,pipenv,--,version,unexpected,install,pip From: https://www.cnblogs.com/ninarming/p/18369063