之前还没问题,现在就
(base) C:\Users\wei>conda activate tensoflow1(tensoflow1) C:\Users\wei>conda install seaborn
Collecting package metadata (repodata.json): failed# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<Traceback (most recent call last):File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 263, in _loadrepodata_fn=self.repodata_fn)File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 613, in fetch_repodata_remote_requestraise Response304ContentUnchanged()conda.core.subdir_data.Response304ContentUnchangedDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "F:\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__return func(*args, **kwargs)File "F:\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _mainexit_code = do_call(args, p)File "F:\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 83, in do_callreturn getattr(module, func_name)(args, parser)File "F:\Anaconda3\lib\site-packages\conda\cli\main_install.py", line 20, in executeinstall(args, parser, 'install')File "F:\Anaconda3\lib\site-packages\conda\cli\install.py", line 265, in installshould_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),File "F:\Anaconda3\lib\site-packages\conda\core\solve.py", line 117, in solve_for_transactionshould_retry_solve)File "F:\Anaconda3\lib\site-packages\conda\core\solve.py", line 158, in solve_for_diffforce_remove, should_retry_solve)File "F:\Anaconda3\lib\site-packages\conda\core\solve.py", line 262, in solve_final_statessc = self._collect_all_metadata(ssc)File "F:\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decoratedreturn f(*args, **kwds)File "F:\Anaconda3\lib\site-packages\conda\core\solve.py", line 425, in _collect_all_metadataindex, r = self._prepare(prepared_specs)File "F:\Anaconda3\lib\site-packages\conda\core\solve.py", line 1021, in _prepareself.subdirs, prepared_specs, self._repodata_fn)File "F:\Anaconda3\lib\site-packages\conda\core\index.py", line 277, in get_reduced_indexrepodata_fn=repodata_fn)File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 120, in query_allresult = tuple(concat(executor.map(subdir_query, channel_urls)))File "F:\Anaconda3\lib\concurrent\futures\_base.py", line 586, in result_iteratoryield fs.pop().result()File "F:\Anaconda3\lib\concurrent\futures\_base.py", line 425, in resultreturn self.__get_result()File "F:\Anaconda3\lib\concurrent\futures\_base.py", line 384, in __get_resultraise self._exceptionFile "F:\Anaconda3\lib\concurrent\futures\thread.py", line 57, in runresult = self.fn(*self.args, **self.kwargs)File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 113, in <lambda>package_ref_or_match_spec))File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 125, in queryself.load()File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 189, in load_internal_state = self._load()File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 278, in _loadmod_etag_headers.get('_mod'))File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 326, in _read_local_repdata_internal_state = self._process_raw_repodata_str(raw_repodata_str)File "F:\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 364, in _process_raw_repodata_strjson_obj = json.loads(raw_repodata_str or '{}')File "F:\Anaconda3\lib\json\__init__.py", line 348, in loadsreturn _default_decoder.decode(s)File "F:\Anaconda3\lib\json\decoder.py", line 337, in decodeobj, end = self.raw_decode(s, idx=_w(s, 0).end())File "F:\Anaconda3\lib\json\decoder.py", line 353, in raw_decodeobj, end = self.scan_once(s, idx)json.decoder.JSONDecodeError: Unterminated string starting at: line 1138238 column 5 (char 33158069)`$ F:\Anaconda3\Scripts\conda-script.py install seaborn`environment variables:CIO_TEST=<not set>CLASSPATH=.;C:\Program Files (x86)\Java\jdk1.8.0_171\lib\dt.jar;C:\Program Files(x86)\Java\jdk1.8.0_171\lib\tools.jar;%TOMCAT HOME%\BINCONDA_DEFAULT_ENV=tensoflow1CONDA_EXE=F:\Anaconda3\condabin\..\Scripts\conda.exeCONDA_EXES="F:\Anaconda3\condabin\..\Scripts\conda.exe"CONDA_PREFIX=F:\Anaconda3\envs\tensoflow1CONDA_PREFIX_1=F:\Anaconda3CONDA_PROMPT_MODIFIER=(tensoflow1)CONDA_PYTHON_EXE=F:\Anaconda3\python.exeCONDA_ROOT=F:\Anaconda3CONDA_SHLVL=2CURL_CA_BUNDLE=<not set>HOMEPATH=\Users\weiPATH=F:\Anaconda3;F:\Anaconda3\Library\mingw-w64\bin;F:\Anaconda3\Library\usr\bin;F:\Anaconda3\Library\bin;F:\Anaconda3\Scripts;F:\Anaconda3\bin;F:\Anaconda3\envs\tensoflow1;F:\Anaconda3\envs\tensoflow1\Library\mingw-w64\bin;F:\Anaconda3\envs\tensoflow1\Library\usr\bin;F:\Anaconda3\envs\tensoflow1\Library\bin;F:\Anaconda3\envs\tensoflow1\Scripts;F:\Anaconda3\envs\tensoflow1\bin;F:\Anaconda3\condabin;F:\Anaconda3\Library\mingw-w64\bin;F:\Anaconda3\Scripts;F:\Anaconda3\Library\bin;F:\Anaconda3;C:\ProgramData\Oracle\Java\javapath;C:\Program Files(x86)\Java\jdk1.8.0_171\bin;C:\Program Files (x86)\Java\jdk1.8.0_171\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;D:\Program Files(x86)\100\Tools\Binn;D:\100\Tools\Binn;D:\100\DTS\Binn;D:\ProgramFiles (x86)\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files(x86)\Microsoft Visual Studio9.0\Common7\IDE\PrivateAssemblies;D:\Program Files (x86)\100\DTS\Binn;C:\WINDOWS\System32\OpenSSE:\mysql-8.0.15-winx64\bin;E:\work\Python64\graphviz-2.38\bin;C:\WINDOWS\System32\OpenSSH;C:\ProgramFiles\Microsoft SQL Server\130\Tools\Binn;E:\work\soft\MinGw\bin;E:\data\texlive\2020\bin\win32;E:\work\Python64\Scripts;E:\work\Python64;F:\su\soft\MATLAB\R2016b\runtime\win64;F:\su\soft\MATLAB\R2016b\bin;F:\su\soft\MATLAB\R2016b\polyspace\bin;C:\Users\wei\AppData\Local\Continuum\anaconda3\Library\bin;F:\su\soft\chromedriver_win32;F:\Anaconda3;F:\Anaconda3\Library\mingw-w64\bin;F:\Anaconda3\Library\usr\bin;F:\Anaconda3\Library\bin;F:\Anaconda3\Scripts;E:\work\Scripts;E:\work;C:\Users\wei\AppData\Local\Microsoft\WindowsApps;E:\mysql-8.0.15-winx64\bin;D:\鐎瑰?顥婇崠鍖糓icrosoft VS Code\Microsoft VSCode\bin;E:\work\Python64;E:\work\Python64\Scripts;.PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\ModulesREQUESTS_CA_BUNDLE=<not set>SSL_CERT_FILE=<not set>active environment : tensoflow1active env location : F:\Anaconda3\envs\tensoflow1shell level : 2user config file : C:\Users\wei\.condarcpopulated config files : C:\Users\wei\.condarcconda version : 4.9.2conda-build version : 3.15.1python version : 3.7.0.final.0virtual packages : __win=0=0__archspec=1=x86_64base environment : F:\Anaconda3 (writable)channel URLs : http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarchhttp://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarchhttp://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/win-64http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarchpackage cache : F:\Anaconda3\pkgsC:\Users\wei\.conda\pkgsC:\Users\wei\AppData\Local\conda\conda\pkgsenvs directories : F:\Anaconda3\envsC:\Users\wei\.conda\envsC:\Users\wei\AppData\Local\conda\conda\envsplatform : win-64user-agent : conda/4.9.2 requests/2.19.1 CPython/3.7.0 Windows/10 Windows/10.0.19041administrator : Falsenetrc file : Noneoffline mode : FalseAn 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?
pip可以下载,
甚至一度怀疑是不是conda里不可以下载这个包,去搜了一下别人是可以的
解决方法:
conda clean -i