当前位置:网站首页>"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 .
边栏推荐
- Description of vs common shortcut keys
- asyncio 概念和用法
- SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
- Unity3D_ Class fishing project, bullet rebound effect is achieved
- Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
- 无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
- Use moviepy Editor clips videos and intercepts video clips in batches
- 通知Notification使用全解析
- Dotween -- ease function
- 山东老博会,2022中国智慧养老展会,智能化养老、适老科技展
猜你喜欢

Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench

How does geojson data merge the boundaries of regions?

95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)

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

喜讯!科蓝SUNDB数据库与鸿数科技隐私数据保护管理软件完成兼容性适配

torch. Numel action

Lecturer solicitation order | Apache seatunnel (cultivating) meetup sharing guests are in hot Recruitment!

Xcode Revoke certificate

Talk about the cloud deployment of local projects created by SAP IRPA studio

强化实时数据管理,英方软件助力医保平台安全建设
随机推荐
讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!
Bidding announcement: Panjin people's Hospital Panjin hospital database maintenance project
The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
Common training data set formats for target tracking
Notification uses full resolution
招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
2022山东智慧养老展,适老穿戴设备展,养老展,山东老博会
laravel构造函数和中间件执行顺序问题
JS 模块化
Wireless sensor networks -- ZigBee and 6LoWPAN
Lecturer solicitation order | Apache seatunnel (cultivating) meetup sharing guests are in hot Recruitment!
How can laravel get the public path
Odoo integrated plausible embedded code monitoring platform
Plate - forme de surveillance par étapes zabbix
Unity3d click events added to 3D objects in the scene
95. (cesium chapter) cesium dynamic monomer-3d building (building)
How to query the data of a certain day, a certain month, and a certain year in MySQL
Enterprise log analysis system elk
目标跟踪常见训练数据集格式
How to implement backspace in shell