我无法在 anaconda 环境中将"C:\tools\cuda\bin"添加到我的 %PATH% 中



我无法在我的%PATH%中添加'C:toolscudabin'。我试过(内部环境):conda develop C:toolscudabin,还有SET PATH=C:toolscudabin;%PATH%,我也在cmd:SET PATH=C:toolscudabin;%PATH%中尝试过。我的系统是Win10

您可以运行以下命令:

setx PATH C:toolscudabin;%PATH%

如果你需要将/m添加到系统环境变量中(这需要管理员):

setx PATH C:toolscudabin;%PATH% /m

从这里:https://superuser.com/a/79614/1195070和https://stackoverflow.com/a/28778358/13710015。

最新更新