pycharm的venu环境pip报错:no such option: --build-dir

原因:

PyCharm 依赖于–build-dir安装包,该标志在最新的20.3 中被移除pip

解决办法:
pip降级,pycharm中打开terminal
运行:

python -m pip install pip==20.2.4

参考网址:https://stackoverflow.com/questions/65085956/pycharm-venv-failed-no-such-option-build-dir

你可能感兴趣的:(python语法,pycharm,python,ide)