当前位置:网站首页>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 1472. 设计浏览器历史记录
- Thrift -- 跨语言RPC 框架
- Network Security Note 6 - Digital Certificates and Public Key Infrastructure
- [Microservice Architecture] Microservices and SOA Architecture (2)
- 【C语言】头文件#include <conio.h>,conio是Console Input/Output(控制台输入输出)
- Situation丨The intrusion of hackers intensifies, and the shooting range sets up a "defense shield" for network security
- 负载均衡原理分析与源码解读
- 「数据战略」结果驱动的企业数据策略:组织和治理
- 关于json转换器缺失的问题,报错内容:No converter found for return value of type
- 短视频软件开发——平台同质化如何破局
猜你喜欢

STM32 encapsulation ESP8266 a key configuration function: implementations of AP mode and the STA mode switch, server and the client to create

文本选中圆角样式border-radius

OneFlow源码解析:算子指令在虚拟机中的执行

Redis6(一)——NoSQL数据库简介与Redis的安装

4 面拿华为 offer 的水平,面试阿里居然一面就被吊打?

ESP8266 Tutorial 2 - Burn AT Firmware
![[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

OneFlow source code parsing: operator instructions executed in a virtual machine

MySQL 执行查询流程

owl.carousel海报卡片Slider轮播切换
随机推荐
js guessing game source code
【Redis】Redis入门教程(介绍 下载安装 Jedis 图形化界面)
mysql5.7 installation and deployment - yum installation
JWT 实现登录认证 + Token 自动续期方案
C语言空白符、空格符 与转义字符题点总结
Introduction to cross-end development of Taro applet
网络文化经营许可证
dedecms支持Word内容一键上传
MySQL 执行查询流程
Redis(六)——Redis6的事务和锁机制(未完成,待补)
短视频软件开发——平台同质化如何破局
Redis6(一)——NoSQL数据库简介与Redis的安装
数据库事务
这些年我开源的几个小项目
2022.8.7-----leetcode.636
dedecms supports one-click upload of Word content
《MySQL高级篇》六、索引的创建与设计原则
金九银十跳槽旺季:阿里、百度、京东、美团等技术面试题及答案
LeetCode Algorithm 1721. 交换链表中的节点
PTA 7-2 方阵对角线元素求和及计数 题解