[英]Conda command not recognized after adding Path (Windows 10)
After following the advice described in various other similar posts of adding the necessary paths, I continue to receive the error described above in the title.在遵循其他各种类似帖子中描述的添加必要路径的建议后,我继续收到标题中描述的错误。 Being out of trouble shooting ideas, I had started adding a number of paths hoping one of them would make the conda command accessible (these are seen in the pic ).
出于排除故障的想法,我开始添加许多路径,希望其中一个可以使 conda 命令可访问(这些在图片中可以看到)。 Does anybody know what the problem may be, or could provide me with more resources to help me troubleshoot?
有谁知道问题可能是什么,或者可以为我提供更多资源来帮助我进行故障排除? All the resources I have found just suggest to add the path.
我发现的所有资源都只是建议添加路径。
Problem solved: For anyone that has a similar problem in the future.已解决的问题:适用于将来遇到类似问题的任何人。 it seems that opening the environment variables was defaulting to editing the environment variables of the admin account instead of the user account that I was using.
似乎打开环境变量默认为编辑管理员帐户的环境变量,而不是我使用的用户帐户。 Therefore appending the desired directory to the user path was only changing the path for the admin user.
因此,将所需目录附加到用户路径只会更改管理员用户的路径。 By typing 'edit environment variables for your account' I was able to find the terminal with which I was able to change the user environment variables for my user account;
通过键入“为您的帐户编辑环境变量”,我能够找到能够更改我的用户帐户的用户环境变量的终端; Everything worked as one would expect following this change.
在此更改之后,一切都按预期工作。 meaning after pressing ok to close the environment editor and restarting the command prompt the added paths appeared.
意思是按确定关闭环境编辑器并重新启动命令提示符后,添加的路径出现了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.