当前位置:网站首页>"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 .
边栏推荐
- prometheus api删除某个指定job的所有数据
- 讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
- Asyncio concept and usage
- Notification uses full resolution
- Unity3d click events added to 3D objects in the scene
- What about the pointer in neural network C language
- 121. The best time to buy and sell stocks
- laravel 是怎么做到运行 composer dump-autoload 不清空 classmap 映射关系的呢?
- Apache Doris刚“毕业”:为什么应关注这种SQL数据仓库?
- How to determine whether the checkbox in JS is selected
猜你喜欢
统计学习方法——感知机
Mysql database basic operation DQL basic query
[flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3
TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
Enterprise log analysis system elk
记一次项目的迁移过程
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
Numpy -- data cleaning
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
喜讯!科蓝SUNDB数据库与鸿数科技隐私数据保护管理软件完成兼容性适配
随机推荐
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
Numpy -- data cleaning
HAVE FUN | “飞船计划”活动最新进展
Laravel5.1 路由 -路由分组
JS modularization
A link opens the applet code. After compilation, it is easy to understand
47_Opencv中的轮廓查找 cv::findContours()
【Android -- 数据存储】使用 SQLite 存储数据
AE learning 01: AE complete project summary
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
Numpy -- epidemic data analysis case
Description of vs common shortcut keys
Logback logging framework third-party jar package is available for free
Statistical learning method -- perceptron
How does geojson data merge the boundaries of regions?
Numpy --- basic learning notes
The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
Shandong old age Expo, 2022 China smart elderly care exhibition, smart elderly care and aging technology exhibition
目标跟踪常见训练数据集格式