当前位置:网站首页>Pycharm终端出现PS问题、conda或activate不是内部命令问题..
Pycharm终端出现PS问题、conda或activate不是内部命令问题..
2022-08-10 10:25:00 【NorthSmile】
当Pycharm使用Anaconda所创建的虚拟环境时,理论上来讲在Pycharm的终端进行操作与Anaconda Prompt是统一的,但实际操作是由于环境配置或自身粗心等原因可能造成一些问题的发生。
一、Pycharm终端出现PS,无法切换到当前虚拟环境
1.问题如图:当前路径前存在PS
2.解决方法:修改terminal的shell path为C:\Windows\System32\cmd.exe,具体操作如下图所示(settings->tools->teminal->shell path):
二、终端出现’conda/activate’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
1.问题:在Anaconda或者Pycharm的终端进行conda操作时(如激活虚拟环境)出现’conda/activate’ 不是内部或外部命令,也不是可运行的程序 或批处理文件,分析可能是Anaconda的conda.bat路径未添加到环境变量Path中。
2.解决方法:将Anaconda安装的bin目录路径添加到环境变量Path中,具体操作如图(我的电脑->属性->高级系统设置->环境变量->Path):
边栏推荐
- LeetCode Algorithm 1721. 交换链表中的节点
- 「首席工程师」首席(Principal )工程师修炼之道
- CodeChef STRMRG String Merging (dp)
- database constraints
- 解决ASP.NET Core在Task中使用IServiceProvider的问题
- 《MySQL高级篇》六、索引的创建与设计原则
- owl.carousel poster card Slider carousel switch
- 干货!ASSANet:让PointNet++更快更强
- Mobile and PC compatible loading and toast message plugins
- ZZULIOJ 1116 删除元素【删】
猜你喜欢
runtime-core.esm-bundler.js?d2dd:218 Uncaught TypeError: formRef.value?.validate is not a function
在兄弟连战狼班参加PHP培训做行业领先人才
内存问题难定位,那是因为你没用ASAN
bus事件总线 使用
8月份DB-Engines 数据库排行榜最新战况
Introduction to cross-end development of Taro applet
Techches Transformer the join wisdom source the author cao, visual basic model study
mysql5.7 installation and deployment - yum installation
网络安全笔记5——数字签名
[Microservice Architecture] Microservices and SOA Architecture (2)
随机推荐
Dalian University of Technology & Pengcheng & UAE propose a mixed-scale triple network ZoomNet for camouflaged target detection, with SOTA performance!
企业如何判断数据治理是否成功?
Introduction to cross-end development of Taro applet
干货!ASSANet:让PointNet++更快更强
跨公网环境,路由策略,进行设备的访问
Network Security Note 6 - Digital Certificates and Public Key Infrastructure
Behind iFLYTEK's translation machine stealing the spotlight, cross-language communication has entered a new era
「可扩展性」可扩展性最佳实践:来自eBay的经验教训
"Scalability" extensibility best practices: lessons from eBay
The usage and difference between getParameter() and getAttribute()
动作捕捉系统用于室内组合定位技术研究
三相380V整流后的电压
Cybersecurity Notes 5 - Digital Signatures
TCP/IP笔记
MySQL executes the query process
ESP8266 Tutorial 1 - Introduction to ESP8266 Hardware Platform
ECCV 2022 | 视频理解新框架X-CLIP:仅用微调的成本,达到预训练的全能
技能大赛训练题:组策略一
Store limited time seckill function system
Redis(六)——Redis6的事务和锁机制(未完成,待补)