自从我在带有内核的anaconda虚拟环境上安装了tensorflow gpu之后,我就遇到以下错误
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\cli\main.py", line 138, in main
return activator_main()
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\activate.py", line 926, in main
context.__init__() # On import, context does not include SEARCH_PATH. This line fixes that.
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\base\context.py", line 285, in __init__
argparse_args=argparse_args)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 762, in __init__
self._set_search_path(search_path)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 768, in _set_search_path
self._set_raw_data(load_file_configs(search_path))
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 391, in load_file_configs
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 391, in <genexpr>
raw_data = odict(kv for kv in chain.from_iterable(load_paths))
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 366, in _file_yaml_loader
yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 358, in make_raw_parameters_from_file
return cls.make_raw_parameters(filepath, ruamel_yaml) or EMPTY_MAP
File "C:\ProgramData\Anaconda3\lib\site-packages\conda\common\configuration.py", line 338, in make_raw_parameters
for key in from_map)
TypeError: 'int' object is not iterable
当我执行以下命令时,
$ C:\ProgramData\Anaconda3\Scripts\conda-script.py shell.cmd.exe activate
我明白了
C:\ProgramData\Anaconda3
environment variables:
CIO_TEST=<not set>
CONDA_EXE=C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
CONDA_ROOT=C:\ProgramData\Anaconda3
HOMEPATH=\Users\moham
PATH=C:\ProgramData\Anaconda3\condabin\..;C:\ProgramData\Anaconda3\condabin
\..\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\condabin\..\Library
\usr\bin;C:\ProgramData\Anaconda3\condabin\..\Library\bin;C:\ProgramDa
ta\Anaconda3\condabin\..\Scripts;C:\ProgramData\Anaconda3\condabin\..\
bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Com
ponents\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSS
H\;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program
Files\Common Files\Intel\WirelessCommon\;C:\Windows\system32;C:\Window
s;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\ProgramData\
Anaconda3\python.exe;C:\Users\moham\AppData\Local\Programs\Python\Pyth
on37\Scripts\;C:\Users\moham\AppData\Local\Programs\Python\Python37\;C
:\Users\moham\AppData\Local\Microsoft\WindowsApps;C:\Program
Files\JetBrains\PyCharm Community Edition 2019.1.3\bin;;C:\Program
Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0;C:\Program Files\NVIDIA
GPU Computing Toolkit\CUDA\v9.0\include;C:\Program Files\NVIDIA GPU
Computing Toolkit\CUDA\v9.0\lib;C:\Program Files\NVIDIA GPU Computing
Toolkit\CUDA\v9.0\bin;C:\Program Files\NVIDIA GPU Computing
Toolkit\CUDA\v9.0\libnvvp;
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : None
user config file : C:\Users\moham\.condarc
populated config files :
conda version : 4.6.11
conda-build version : 3.17.8
python version : 3.7.3.final.0
base environment : C:\ProgramData\Anaconda3 (read only)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\moham\.conda\pkgs
C:\Users\moham\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\moham\.conda\envs
C:\ProgramData\Anaconda3\envs
C:\Users\moham\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17134
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
错误的含义是什么,如何解决?
发生意外错误。康达已经准备了上述报告。
如果提交,核心维护者将使用此报告来改进 未来的conda版本。 您想让conda将此报告发送给核心维护者吗?