天津河西做网站,鹿泉企业网站建设,推广哪个app最挣钱,建材建设网站Q:公司电脑终端使用powershell来激活conda环境时报错? 同时手动打开powershell报profile.ps1” 无法被加载的错误
A:
1,手动打开powershell#xff0c;设置管理员打开 2,打开powershell
打开 PowerShell 终端#xff0c;并输入以下命令#xff1a;Get-ExecutionPo…Q:公司电脑终端使用powershell来激活conda环境时报错? 同时手动打开powershell报profile.ps1” 无法被加载的错误
A:
1,手动打开powershell设置管理员打开 2,打开powershell
打开 PowerShell 终端并输入以下命令Get-ExecutionPolicy。如果它返回 “Restricted”则说明你的计算机设置了脚本执行策略限制需要修改脚本执行策略。
输入命令Set-ExecutionPolicy RemoteSigned。这将允许本地计算机上未签名的脚本运行。
3,打开powershell,输入conda activate,发现激活成功.
4,同时将Pycharm的终端设置成powershell。 5,重启运行,发现激活conda成功! Qconda报错不包含activate的指令
A
1,将Anaconda Prompt设置成管理员启动 2,输入conda activate问题解决 参考链接:powershell报错问题_powershell应用程序错误_搬砖员小黑哥的博客-CSDN博客
Conda环境无法激活_conda没有activate命令_cowboy.J的博客-CSDN博客