conda 不报错 不能安装

问题:

Collecting package metadata (current_repodata.json):done

 

warning ......update conda......

没有然后了,没有warning 没有error

原因:

之前强迫症powershell里面默认进入conda的base 将powershell设置成了禁止执行所有脚本,改回来就行,主要是current user 要改

先:

Set-ExecutionPolicy Unrestricted

Get-ExecutionPolicy -List        # 看当前用户改成Unrestricted 没有

如果没有再执行

Set-ExecutionPolicy Restricted -Scope CurrentUser -Force

 

 
posted @ 2020-08-03 15:08  FredyVia  阅读(154)  评论(0)    收藏  举报