当前位置:网站首页>"The" "PIP" "entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program."
"The" "PIP" "entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program."
2022-07-07 16:24:00 【Nailaoyyds】
Preface
Use Pycharm After creating a new environment , May use pip Install the package , However, the following or similar errors will appear :
Because the initial error is displayed ModuleNotFoundError: No module named 'requests'
So just use it. pip instal requests To install ,
The initial idea is pycharm Can't install , Install in the folder
Tips
'C:\Users\86157\AppData\Local\Programs\Python\Python39\python.exe -m pip install --upgrade pip
Installation successful
But you still can't use
Solution
This usually happens because cmd( terminal ) Can't recognize pip Instructions , Missing in environment variable pip The program path , Therefore, you need to manually set pip Add the path to the environment variable .
Problem description :
pip : Cannot be “pip” Item identified as cmdlet、 function 、 The name of the script file or runnable program . Please check the spelling of the name , If the path is included , Please make sure the path is correct , then try again .
The position of That's ok :1 character : 1
First check whether it is installed pip, If not, you need to install
Usually , The configured environment includes pip
hold Scripts Add the path of to the environment variable
After configuring and restarting the computer, it succeeds
summary
The method described in this article is applicable to any version in principle pycharm With any version pip/conda And other similar errors .
边栏推荐
- laravel中将session由文件保存改为数据库保存
- 【HCSD大咖直播】亲授大厂面试秘诀-简要笔记
- Common training data set formats for target tracking
- 47_ Contour lookup in opencv cv:: findcontours()
- 模仿企业微信会议室选择
- Laravel constructor and middleware execution order
- The unity vector rotates at a point
- Numpy -- epidemic data analysis case
- 无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
- Excessive dependence on subsidies, difficult collection of key customers, and how strong is the potential to reach the dream of "the first share of domestic databases"?
猜你喜欢
过度依赖补助,大客户收款难,冲刺“国产数据库第一股”的达梦后劲有多足?
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
Numpy -- data cleaning
Leetcode-231-2的幂
Talk about the cloud deployment of local projects created by SAP IRPA studio
Continuous creation depends on it!
神经网络c语言中的指针是怎么回事
Three. JS introductory learning notes 19: how to import FBX static model
Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
山东老博会,2022中国智慧养老展会,智能化养老、适老科技展
随机推荐
leetcode 241. Different ways to add parentheses design priority for operational expressions (medium)
Talk about the cloud deployment of local projects created by SAP IRPA studio
Statistical learning method -- perceptron
目标跟踪常见训练数据集格式
Balanced binary tree (AVL)
Leetcode-136-只出现一次的数(用异或来解答)
47_ Contour lookup in opencv cv:: findcontours()
There are many ways to realize the pause function in JS
Tragedy caused by deleting the console statement
What are compiled languages and interpreted languages?
Laravel5.1 路由 -路由分组
Continuous creation depends on it!
Limit of total fields [1000] in index has been exceeded
laravel构造函数和中间件执行顺序问题
Shader_ Animation sequence frame
TCP framework___ Unity
Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)
过度依赖补助,大客户收款难,冲刺“国产数据库第一股”的达梦后劲有多足?
121. 买卖股票的最佳时机
torch.numel作用