(base) C:\Users\怪咖>conda create -n pytorch python=3.8
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.9.2
latest version: 4.10.3
Please update conda by running
$ conda update -n base -c defaults conda
environment location: C:\Users\怪咖.conda\envs\pytorch
added / updated specs:
- python=3.8
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2021.5.25 | haa95532_1 112 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi-2021.5.30 | py38haa95532_0 140 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
openssl-1.1.1k | h2bbff1b_0 4.8 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip-21.1.3 | py38haa95532_0 1.8 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python-3.8.10 | hdbf39b2_7 15.9 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools-52.0.0 | py38haa95532_0 726 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
sqlite-3.36.0 | h2bbff1b_0 780 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
vc-14.2 | h21ff451_1 8 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
vs2015_runtime-14.27.29016 | h5e58377_2 1007 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wheel-0.36.2 | pyhd3eb1b0_0 33 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wincertstore-0.2 | py38_0 15 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
------------------------------------------------------------
Total: 25.2 MB
The following NEW packages will be INSTALLED:
ca-certificates anaconda/pkgs/main/win-64::ca-certificates-2021.5.25-haa95532_1
certifi anaconda/pkgs/main/win-64::certifi-2021.5.30-py38haa95532_0
openssl anaconda/pkgs/main/win-64::openssl-1.1.1k-h2bbff1b_0
pip anaconda/pkgs/main/win-64::pip-21.1.3-py38haa95532_0
python anaconda/pkgs/main/win-64::python-3.8.10-hdbf39b2_7
setuptools anaconda/pkgs/main/win-64::setuptools-52.0.0-py38haa95532_0
sqlite anaconda/pkgs/main/win-64::sqlite-3.36.0-h2bbff1b_0
vc anaconda/pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime anaconda/pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel anaconda/pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
wincertstore anaconda/pkgs/main/win-64::wincertstore-0.2-py38_0
Proceed ([y]/n)?
Downloading and Extracting Packages
pip-21.1.3 | 1.8 MB | ################################################################################################################################################# | 100%
wheel-0.36.2 | 33 KB | ################################################################################################################################################# | 100%
openssl-1.1.1k | 4.8 MB | ################################################################################################################################################# | 100%
wincertstore-0.2 | 15 KB | ################################################################################################################################################# | 100%
vc-14.2 | 8 KB | ################################################################################################################################################# | 100%
python-3.8.10 | 15.9 MB | ################################################################################################################################################# | 100%
certifi-2021.5.30 | 140 KB | ################################################################################################################################################# | 100%
sqlite-3.36.0 | 780 KB | ################################################################################################################################################# | 100%
ca-certificates-2021 | 112 KB | ################################################################################################################################################# | 100%
vs2015_runtime-14.27 | 1007 KB | ################################################################################################################################################# | 100%
setuptools-52.0.0 | 726 KB | ################################################################################################################################################# | 100%
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\pip-21.1.3-py38haa95532_0357nz9jj\info-pip-21.1.3-py38haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\pip-21.1.3-py38haa95532_0357nz9jj\info-pip-21.1.3-py38haa95532_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\wheel-0.36.2-pyhd3eb1b0_0l1klkinr\info-wheel-0.36.2-pyhd3eb1b0_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\wheel-0.36.2-pyhd3eb1b0_0l1klkinr\info-wheel-0.36.2-pyhd3eb1b0_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\openssl-1.1.1k-h2bbff1b_0k34s6z18\info-openssl-1.1.1k-h2bbff1b_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\openssl-1.1.1k-h2bbff1b_0k34s6z18\info-openssl-1.1.1k-h2bbff1b_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\wincertstore-0.2-py38_02853vozl\info-wincertstore-0.2-py38_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\wincertstore-0.2-py38_02853vozl\info-wincertstore-0.2-py38_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\vc-14.2-h21ff451_1615kg_5z\info-vc-14.2-h21ff451_1.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\vc-14.2-h21ff451_1615kg_5z\info-vc-14.2-h21ff451_1.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\python-3.8.10-hdbf39b2_7a6_1brmf\info-python-3.8.10-hdbf39b2_7.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\python-3.8.10-hdbf39b2_7a6_1brmf\info-python-3.8.10-hdbf39b2_7.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\certifi-2021.5.30-py38haa95532_0p2zecor2\info-certifi-2021.5.30-py38haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\certifi-2021.5.30-py38haa95532_0p2zecor2\info-certifi-2021.5.30-py38haa95532_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\sqlite-3.36.0-h2bbff1b_00woudq4e\info-sqlite-3.36.0-h2bbff1b_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\sqlite-3.36.0-h2bbff1b_00woudq4e\info-sqlite-3.36.0-h2bbff1b_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\ca-certificates-2021.5.25-haa95532_1hhmrnl_t\info-ca-certificates-2021.5.25-haa95532_1.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\ca-certificates-2021.5.25-haa95532_1hhmrnl_t\info-ca-certificates-2021.5.25-haa95532_1.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\vs2015_runtime-14.27.29016-h5e58377_2mn8q1yxy\info-vs2015_runtime-14.27.29016-h5e58377_2.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\vs2015_runtime-14.27.29016-h5e58377_2mn8q1yxy\info-vs2015_runtime-14.27.29016-h5e58377_2.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\怪咖\.conda\pkgs\setuptools-52.0.0-py38haa95532_0djdr7r39\info-setuptools-52.0.0-py38haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\怪咖\.conda\pkgs\setuptools-52.0.0-py38haa95532_0djdr7r39\info-setuptools-52.0.0-py38haa95532_0.tar.zst'")
估计是路径有中文导致的
解决了么我也是这个问题