当前位置:网站首页>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):
边栏推荐
- owl.carousel海报卡片Slider轮播切换
- 【Redis】Redis入门教程(介绍 下载安装 Jedis 图形化界面)
- Mobile and PC compatible loading and toast message plugins
- The web project accesses static resources inside the reference jar
- Array of shell scripts
- 【知识论概念】《理由论的进展》鲁汶大学2022最新220页博士论文
- 动作捕捉系统用于室内组合定位技术研究
- ES复杂操作搜索
- 【Azure云】服务端点和私有链接有什么区别?观点(1)
- what is rtems
猜你喜欢
![[Concept of Theory of Knowledge]](/img/c1/8dcc19e43f78e999b13c8da1c19f62.png)
[Concept of Theory of Knowledge] "Progress in the Theory of Reason" University of Leuven 2022 latest 220-page doctoral dissertation

什么是抽象类

Gold, nine, silver and ten job-hopping seasons: technical interview questions and answers on Alibaba, Baidu, JD.com, and Meituan

「数据战略」结果驱动的企业数据策略:组织和治理

使用cpolar远程连接群晖NAS(升级固定链接2)

14 high-frequency handwritten JS interview questions and answers to consolidate your JS foundation

Taro小程序跨端开发入门实战

3D旋转文本动画js特效

Techches Transformer the join wisdom source the author cao, visual basic model study

8月份DB-Engines 数据库排行榜最新战况
随机推荐
"Time Series Database" uses cassandra to scan time series data
什么是抽象类
LeetCode Algorithm 1403. 非递增顺序的最小子序列
解决ASP.NET Core在Task中使用IServiceProvider的问题
Regarding the missing json converter, the error message is: No converter found for return value of type
面试官:项目中 Dao、Service、Controller、Util、Model 怎么划分的?
内存问题难定位,那是因为你没用ASAN
是什么影响了MySQL性能?
JWT 实现登录认证 + Token 自动续期方案
2022.8.8-----leetcode.761
商城限时秒杀功能系统
MySQL 执行查询流程
"Data Strategy" Results-Driven Enterprise Data Strategy: Organization and Governance
用.bat文件做Airtest脚本的多设备批量运行
what is bsp in rtems
Dialogue with Chen Ciliang: Nezha wants to popularize high-end products
8月份DB-Engines 数据库排行榜最新战况
《MySQL高级篇》六、索引的创建与设计原则
String interception function in SQL
文本选中圆角样式border-radius