conda list 报错 TypeError LoadLibrary() argument 1 must be str, not None

Windows 安装Anaconda3 没注意path,安装后conda list 报错TypeError LoadLibrary() argument 1 must be str, not None

Warning:
This Python interpreter is n a conda environment, but the environment has not been activated. Liberaries may fail to load. To activate this environment please see https://conda.io/activation

解决思路:
在Anaconda Prompt 中输入 path 检查环境变量

并在 此电脑-> 右击属性->高级系统设置-> 环境变量
添加path
以上两步具体参考:https://blog.csdn.net/mars_xiaolei/article/details/82798640

但是,我这么做了还是不行
conda list 之后还是一堆报错。如果在Anaconda Prompt中输入 conda list 是正常的,那么就是windows的环境变量设置问题,反复检查没错,无奈之下 将Anaconda的路径上移到了最顶端。哈 居然解决了。呵呵呵……

你可能感兴趣的:(python)