当我尝试将Anaconda3安装到远程文件夹(在UNC路径,\\A_REMOTE_PATH\anaconda\
中)时,发生错误,提示:
......
Extract: seaborn-0.9.0-py37_0.conda
Extract: anaconda-2019.07-py37_0.tar.bz2
Unpacking : alabaster-0.7.12-py37_0.conda
[12748] Failed to execute script conda.exe
Traceback (most recent call last):
File "site-packages\conda_package_handling\api.py", line 49, in extract
File "site-packages\conda_package_handling\conda_fmt.py", line 55, in extract
File "site-packages\conda_package_handling\conda_fmt.py", line 37, in _extract_component
File "site-packages\conda_package_handling\tarball.py", line 77, in _tar_xf
File "site-packages\libarchive\extract.py", line 70, in extract_file
File "site-packages\libarchive\extract.py", line 50, in extract_entries
File "site-packages\libarchive\ffi.py", line 91, in check_int
File "site-packages\libarchive\ffi.py", line 75, in archive_error
libarchive.exception.ArchiveError: Can't create '\\?\A_REMOTE_PATH\anaconda\pkgs\alabaster-0.7.12-py37_0\info\hash_input.json' (errno=2, retcode=-25, archive_p=2290590071216)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "conda.exe.py", line 60, in <module>
File "conda.exe.py", line 55, in _extract
File "site-packages\conda_package_handling\api.py", line 51, in extract
conda_package_handling.exceptions.InvalidArchiveError: Error with archive \\A_REMOTE_PATH\anaconda\pkgs\alabaster-0.7.12-py37_0.conda. You probably need to delete and re-download or re-create this file. Message from libarchive was:
Can't create '\\?\A_REMOTE_PATH\anaconda\pkgs\alabaster-0.7.12-py37_0\info\hash_input.json' (errno=2, retcode=-25, archive_p=2290590071216)
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
PackagesNotFoundError: The following packages are not available from current channels:
- pyyaml==5.1.1=py37he774522_0
- ......
我确定有足够的空间(超过1 TB),可以对该位置进行管理员访问,并且远程路径中的所有字符均为ASCII字符。我在任何地方都找不到解决此问题的方法。这种情况发生在Anaconda 2019.07
和Anaconda 2020.02
上。