当前位置:网站首页>"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 .
边栏推荐
- [excelexport], Excel to Lua, JSON, XML development tool
- Bidding announcement: 2022 Yunnan Unicom gbase database maintenance public comparison and selection project (second) comparison and selection announcement
- A JS script can be directly put into the browser to perform operations
- 47_Opencv中的轮廓查找 cv::findContours()
- Numpy -- data cleaning
- hellogolang
- Migration and reprint
- 【知识小结】PHP使用svn笔记总结
- 删除 console 语句引发的惨案
- 山东老博会,2022中国智慧养老展会,智能化养老、适老科技展
猜你喜欢
![Application example of infinite list [uigridview]](/img/11/3be1c63680e6de8f068e79690ecf12.jpg)
Application example of infinite list [uigridview]

【Android -- 数据存储】使用 SQLite 存储数据

Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench

Plate - forme de surveillance par étapes zabbix

Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)

What about the pointer in neural network C language

【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境

平衡二叉树(AVL)

深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)

SPI master rx time out中断
随机推荐
pycharm 终端部启用虚拟环境
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
Limit of total fields [1000] in index has been exceeded
一个普通人除了去工厂上班赚钱,还能干什么工作?
What are compiled languages and interpreted languages?
Bidding announcement: Panjin people's Hospital Panjin hospital database maintenance project
The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
Communication mode between application program and MATLAB
招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
Laravel service provider instance tutorial - create a service provider test instance
SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
模仿企业微信会议室选择
hellogolang
Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
Continuous creation depends on it!
Regular expression string
Tragedy caused by deleting the console statement
[excelexport], Excel to Lua, JSON, XML development tool
47_ Contour lookup in opencv cv:: findcontours()