pycharm:no such option: --build-dir

Try to run this command from the system terminal. Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located at

no such option: --build-dir

原因:pycharm安装包依赖--build-dir参数,然而该参数在pip 20.3中已删除
解决方法:使用低版本pip
在pycharm中打开terminal输入:

python -m pip install pip==20.2.4

pycharm:no such option: --build-dir_第1张图片

你可能感兴趣的:(Python,常见问题整理,pycharm,python,ide)