知识库
Python包管理工具Anaconda conda工具中没有activate命令解决方法
2025-01-01 09:00:22 李腾 1 次阅读
1、执行以下命令允许ps脚本执行。
set-ExecutionPolicy RemoteSigned
2、在Powshell中执行以下命令并重启PowerShell。
conda init powershell
3、执行一下命令切换到base环境。
conda activate base
1、执行以下命令允许ps脚本执行。
set-ExecutionPolicy RemoteSigned
2、在Powshell中执行以下命令并重启PowerShell。
conda init powershell
3、执行一下命令切换到base环境。
conda activate base