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

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_45735297/article/details/129557179