当前位置:网站首页>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):
边栏推荐
- 2022.8.9-----leetcode.1413
- 14 high-frequency handwritten JS interview questions and answers to consolidate your JS foundation
- Mobile and PC compatible loading and toast message plugins
- 2022.8.8-----leetcode.761
- 「第二部:容器和微服务架构」(1) 基于容器应用架构设计原则
- 大连理工&鹏城&UAE提出用于伪装目标检测的混合尺度三重网络ZoomNet,性能SOTA!
- Dalian University of Technology & Pengcheng & UAE propose a mixed-scale triple network ZoomNet for camouflaged target detection, with SOTA performance!
- Automated Testing and Selenium
- PPT | 「课件」企业中高层人员安全管理培训(118页)
- PTA 7-2 方阵对角线元素求和及计数 题解
猜你喜欢
快速上手,征服三种不同分布式架构调用方案
runtime-core.esm-bundler.js?d2dd:218 Uncaught TypeError: formRef.value?.validate is not a function
《MySQL高级篇》六、索引的创建与设计原则
Redis (six) - transaction and lock mechanism of Redis6 (unfinished, to be supplemented)
3D旋转文本动画js特效
「数据架构」数据模型,数据字典,数据库模式 和ERD的比较
Taro小程序跨端开发入门实战
Mobile and PC compatible loading and toast message plugins
Techches Transformer the join wisdom source the author cao, visual basic model study
mysql5.7安装部署-yum安装
随机推荐
Mobile and PC compatible loading and toast message plugins
Store limited time seckill function system
Three-phase 380V rectified voltage
「数据战略」结果驱动的企业数据策略:组织和治理
文本选中圆角样式border-radius
PPT | 「课件」企业中高层人员安全管理培训(118页)
Array of shell scripts
Network Security Note 6 - Digital Certificates and Public Key Infrastructure
网络文化经营许可证
gin-gonic/gin使用详解
The web project accesses static resources inside the reference jar
LeetCode Algorithm 1472. 设计浏览器历史记录
2022.8.7-----leetcode.636
ZZULIOJ 1124: 两个有序数组合并
8月份DB-Engines 数据库排行榜最新战况
在兄弟连战狼班参加PHP培训做行业领先人才
Introduction to cross-end development of Taro applet
「第二部:容器和微服务架构」(1) 基于容器应用架构设计原则
what is bsp in rtems
MySQL 执行查询流程