Usage:
H:workpythonpython368Scriptspython.exe -m pip install [options] [package-index-options] …
H:workpythonpython368Scriptspython.exe -m pip install [options] -r [package-index-options] …
H:workpythonpython368Scriptspython.exe -m pip install [options] [-e] …
H:workpythonpython368Scriptspython.exe -m pip install [options] [-e] …
H:workpythonpython368Scriptspython.exe -m pip install [options] …
no such option: --build-dir
PyCharm 依赖于 --build-dir 安装第三方库,但该标志在 20.2 版本以后的版中已被删除
解决办法输入命令 pip install pip==20.2.4 来切换 pip 的版本。如下图所示:



