当前位置:网站首页>"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 .
边栏推荐
- Laravel 服务提供者实例教程 —— 创建 Service Provider 测试实例
- Laravel 中config的用法
- Performance measure of classification model
- Numpy -- data cleaning
- 分类模型评价标准(performance measure)
- Leetcode-136- number that appears only once (solve with XOR)
- 招标公告:福建省农村信用社联合社数据库审计系统采购项目(重新招标)
- Detailed explanation of several ideas for implementing timed tasks in PHP
- Step by step monitoring platform ZABBIX
- Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
猜你喜欢
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
平衡二叉树(AVL)
Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
SPI master RX time out interrupt
Plate - forme de surveillance par étapes zabbix
企业级日志分析系统ELK
Leetcode-231-2的幂
Application example of infinite list [uigridview]
Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"
PyTorch 中的乘法:mul()、multiply()、matmul()、mm()、mv()、dot()
随机推荐
laravel中将session由文件保存改为数据库保存
Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
asyncio 概念和用法
Leetcode-231-2的幂
Excessive dependence on subsidies, difficult collection of key customers, and how strong is the potential to reach the dream of "the first share of domestic databases"?
Numpy -- data cleaning
Performance measure of classification model
Limit of total fields [1000] in index has been exceeded
laravel怎么获取到public路径
如何在shell中实现 backspace
js中复选框checkbox如何判定为被选中
招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
Plate - forme de surveillance par étapes zabbix
2022山东智慧养老展,适老穿戴设备展,养老展,山东老博会
Numpy --- basic learning notes
企业级日志分析系统ELK
Unity3d click events added to 3D objects in the scene
Is it reliable to open an account on Tongda letter with your mobile phone? Is there any potential safety hazard in such stock speculation
平衡二叉树(AVL)