Editorial Note: This article is written with editorial review and topic relevance in mind.
对于 python 学习者来说,经常需要安装一些第三方的库,经常使用的命令就是 pip install 要安装的库. 如果安装python后,在命令行下使用 pip 命令时遇到【‘pip’ 不是内部或外部命令,也不是可运行的程序或批处理文件。 】一般是由于我们在安装python时,没有将python的可执. 有的同学在使用 pip 安装第三方库时,系统报错,提示 pip不是内部或外部命令,也不是可运行的程序。 这是由于在安装python的时候,没有勾选 add python 3.8 to path。
Beverly Hills, Ca. 7th Jan, 2018. Allison Janney, at 75th Annual Golden
但是,如果没有配置 pip 的 path, 那么我们的系统是找不到 pip 命令的,会.