当前位置:网站首页>"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 .
边栏推荐
- 121. The best time to buy and sell stocks
- Odoo integrated plausible embedded code monitoring platform
- IP地址和物理地址有什么区别
- Unity的三种单例模式(饿汉,懒汉,MonoBehaviour)
- PHP中exit,exit(0),exit(1),exit(‘0’),exit(‘1’),die,return的区别
- Numpy -- epidemic data analysis case
- What is the difference between IP address and physical address
- Three singleton modes of unity (hungry man, lazy man, monobehavior)
- 平衡二叉树(AVL)
- TCP framework___ Unity
猜你喜欢
山东老博会,2022中国智慧养老展会,智能化养老、适老科技展
Numpy --- basic learning notes
AE learning 02: timeline
Mysql database basic operation DQL basic query
Statistical learning method -- perceptron
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现
【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
Wireless sensor networks -- ZigBee and 6LoWPAN
SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
随机推荐
Wireless sensor networks -- ZigBee and 6LoWPAN
Tragedy caused by deleting the console statement
Is it reliable to open an account on Tongda letter with your mobile phone? Is there any potential safety hazard in such stock speculation
招标公告:盘锦市人民医院盘锦医院数据库维保项目
Leetcode-136- number that appears only once (solve with XOR)
Unity3d click events added to 3D objects in the scene
Bidding announcement: Panjin people's Hospital Panjin hospital database maintenance project
Unity drawing plug-in = = [support the update of the original atlas]
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
分类模型评价标准(performance measure)
Shipping companies' AI products are mature, standardized and applied on a large scale. CIMC, the global leader in port and shipping AI / container AI, has built a benchmark for international shipping
用手机在通达信上开户靠谱吗?这样炒股有没有什么安全隐患
分步式監控平臺zabbix
You Yuxi, coming!
How does geojson data merge the boundaries of regions?
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)
IP地址和物理地址有什么区别
Continuous creation depends on it!
Description of vs common shortcut keys