当前位置:网站首页>"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 .
边栏推荐
- MySQL中, 如何查询某一天, 某一月, 某一年的数据
- 目标跟踪常见训练数据集格式
- Mysql database basic operation DQL basic query
- Odoo integrated plausible embedded code monitoring platform
- JS 模块化
- A link opens the applet code. After compilation, it is easy to understand
- 招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
- PHP中exit,exit(0),exit(1),exit(‘0’),exit(‘1’),die,return的区别
- Unity3d click events added to 3D objects in the scene
- 招标公告:福建省农村信用社联合社数据库审计系统采购项目(重新招标)
猜你喜欢
[flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3
Unity3D_ Class fishing project, bullet rebound effect is achieved
过度依赖补助,大客户收款难,冲刺“国产数据库第一股”的达梦后劲有多足?
MySQL数据库基本操作-DQL-基本查询
Numpy -- epidemic data analysis case
Unity3d click events added to 3D objects in the scene
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
分步式监控平台zabbix
torch.numel作用
TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
随机推荐
目标跟踪常见训练数据集格式
Particle effect for ugui
three.js打造酷炫下雪效果
招标公告:盘锦市人民医院盘锦医院数据库维保项目
Notification uses full resolution
企业级日志分析系统ELK
Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
Enterprise log analysis system elk
Xcode Revoke certificate
Shader_ Animation sequence frame
markdown公式编辑教程
hellogolang
Limit of total fields [1000] in index has been exceeded
Apache Doris刚“毕业”:为什么应关注这种SQL数据仓库?
Migration and reprint
删除 console 语句引发的惨案
TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
torch. Numel action
Asyncio concept and usage
What about the pointer in neural network C language