当前位置:网站首页>"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 .
边栏推荐
- Common training data set formats for target tracking
- Notification uses full resolution
- Regular expression string
- Logback logging framework third-party jar package is available for free
- Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
- 121. 买卖股票的最佳时机
- Laravel 服务提供者实例教程 —— 创建 Service Provider 测试实例
- PHP中exit,exit(0),exit(1),exit(‘0’),exit(‘1’),die,return的区别
- Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)
- hellogolang
猜你喜欢

Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models

SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
通知Notification使用全解析

Leetcode-231-2的幂

Continuous creation depends on it!

深度之眼(六)——矩阵的逆(附:logistic模型一些想法)

无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称

平衡二叉树(AVL)

分步式监控平台zabbix

Numpy -- data cleaning
随机推荐
融云斩获 2022 中国信创数字化办公门户卓越产品奖!
laravel 是怎么做到运行 composer dump-autoload 不清空 classmap 映射关系的呢?
Iptables only allows the specified IP address to access the specified port
MySQL数据库基本操作-DQL-基本查询
How does geojson data merge the boundaries of regions?
一个普通人除了去工厂上班赚钱,还能干什么工作?
Laravel 服务提供者实例教程 —— 创建 Service Provider 测试实例
A JS script can be directly put into the browser to perform operations
【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"
Dotween -- ease function
Numpy -- data cleaning
喜讯!科蓝SUNDB数据库与鸿数科技隐私数据保护管理软件完成兼容性适配
What about the pointer in neural network C language
prometheus api删除某个指定job的所有数据
Bidding announcement: 2022 Yunnan Unicom gbase database maintenance public comparison and selection project (second) comparison and selection announcement
Mysql database backup script
预测——灰色预测
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
95. (cesium chapter) cesium dynamic monomer-3d building (building)