我已经安装了Anaconda和最新的Python。我已经将它们安装到
G:\Visual Studio Shared (Sys Files)
并将此地址添加为Windows路径
G:\Visual Studio Shared (Sys Files)\Python36_64\
直到我玩转Tensorflow命令之前,它一直运行良好。
现在即使我写
conda --version
它总是会给出错误:
'G:\Visual' is not recognized as an internal or external command,
operable program or batch file.
有人知道为什么解释路径丢失了吗?还是有什么建议?
编辑:Windows路径仍然可以,没有变化。
编辑2:输入时
(base) C:\Users\user>activate tensorflow
它输出
\Anaconda3_64\Scripts\conda.exe was unexpected at this time.
(base) C:\Users\user>@FOR /F "delims=" %i IN ('@CALL G:\Visual Studio Shared (Sys Files)\Anaconda3_64\Scripts\conda.exe shell.cmd.exe activate tensorflow') DO @SET "_TEMP_SCRIPT_PATH=%i"
(base) C:\Users\user>