conda create -n paddle python=3.10.4
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\ProgramData\Anaconda3\envs\paddle
added / updated specs:
- python=3.10.4
The following packages will be downloaded:
package | build
---------------------------|-----------------
bzip2-1.0.8 | he774522_0 113 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libffi-3.4.2 | h604cdb4_1 43 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip-21.2.4 | py310haa95532_0 1.9 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python-3.10.4 | hbb2ffb3_0 15.9 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools-61.2.0 | py310haa95532_0 1.0 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
sqlite-3.38.2 | h2bbff1b_0 807 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tk-8.6.11 | h2bbff1b_0 3.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tzdata-2022a | hda174b7_0 109 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.37.1 | pyhd3eb1b0_0 33 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wincertstore-0.2 | py310haa95532_2 15 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
xz-5.2.5 | h62dcd97_0 244 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zlib-1.2.12 | h8cc25b3_2 116 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
------------------------------------------------------------
Total: 24.5 MB
The following NEW packages will be INSTALLED:
bzip2 anaconda/pkgs/main/win-64::bzip2-1.0.8-he774522_0
ca-certificates anaconda/pkgs/main/win-64::ca-certificates-2022.3.29-haa95532_1
certifi anaconda/pkgs/main/noarch::certifi-2020.6.20-pyhd3eb1b0_3
libffi anaconda/pkgs/main/win-64::libffi-3.4.2-h604cdb4_1
openssl anaconda/pkgs/main/win-64::openssl-1.1.1n-h2bbff1b_0
pip anaconda/pkgs/main/win-64::pip-21.2.4-py310haa95532_0
python anaconda/pkgs/main/win-64::python-3.10.4-hbb2ffb3_0
setuptools anaconda/pkgs/main/win-64::setuptools-61.2.0-py310haa95532_0
sqlite anaconda/pkgs/main/win-64::sqlite-3.38.2-h2bbff1b_0
tk anaconda/pkgs/main/win-64::tk-8.6.11-h2bbff1b_0
tzdata anaconda/pkgs/main/noarch::tzdata-2022a-hda174b7_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.37.1-pyhd3eb1b0_0
wincertstore anaconda/pkgs/main/win-64::wincertstore-0.2-py310haa95532_2
xz anaconda/pkgs/main/win-64::xz-5.2.5-h62dcd97_0
zlib anaconda/pkgs/main/win-64::zlib-1.2.12-h8cc25b3_2
Proceed ([y]/n)?
done
#
# To activate this environment, use
#
# $ conda activate paddle
#
# To deactivate an active environment, use
#
# $ conda deactivate
(pytorch) C:\Windows\system32>conda evy -list
CommandNotFoundError: No command 'conda evy'.
Did you mean 'conda env'?
(pytorch) C:\Windows\system32>conda env list
# conda environments:
#
base C:\ProgramData\Anaconda3
paddle C:\ProgramData\Anaconda3\envs\paddle
pytorch * C:\ProgramData\Anaconda3\envs\pytorch
conda activate paddle
https://www.paddlepaddle.org.cn/https://www.paddlepaddle.org.cn/
conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
Examining @/win-64::__win==0=0: 50%|███████████████████████████████████████████ | 2/4 [00:00<00:00, 18.40it/s]|failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- paddlepaddle==2.2.2 -> python[version='>=3.6,<3.7|>=3.7,<3.8|>=3.8,<3.9|>=3.9,<3.10']
Your python: python=3.10.4
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
可见python版本号太高paddle暂时不支持
降版本
(paddle) C:\Windows\system32>conda create -n paddle python=3.9
WARNING: A conda environment already exists at 'C:\ProgramData\Anaconda3\envs\paddle'
Remove existing environment (y/[n])? y
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\ProgramData\Anaconda3\envs\paddle
added / updated specs:
- python=3.9
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2021.10.8 | py39haa95532_2 152 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip-21.2.4 | py39haa95532_0 1.8 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python-3.9.12 | h6244533_0 17.1 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools-61.2.0 | py39haa95532_0 1.0 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wincertstore-0.2 | py39haa95532_2 15 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
------------------------------------------------------------
Total: 20.1 MB
The following NEW packages will be INSTALLED:
ca-certificates anaconda/pkgs/main/win-64::ca-certificates-2022.3.29-haa95532_1
certifi anaconda/pkgs/main/win-64::certifi-2021.10.8-py39haa95532_2
openssl anaconda/pkgs/main/win-64::openssl-1.1.1n-h2bbff1b_0
pip anaconda/pkgs/main/win-64::pip-21.2.4-py39haa95532_0
python anaconda/pkgs/main/win-64::python-3.9.12-h6244533_0
setuptools anaconda/pkgs/main/win-64::setuptools-61.2.0-py39haa95532_0
sqlite anaconda/pkgs/main/win-64::sqlite-3.38.2-h2bbff1b_0
tzdata anaconda/pkgs/main/noarch::tzdata-2022a-hda174b7_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.37.1-pyhd3eb1b0_0
wincertstore anaconda/pkgs/main/win-64::wincertstore-0.2-py39haa95532_2
Proceed ([y]/n)?
y确认后安装完成
重新
conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
(paddle) C:\Windows\system32>conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\ProgramData\Anaconda3\envs\paddle
added / updated specs:
- paddlepaddle==2.2.2
The following packages will be downloaded:
package | build
---------------------------|-----------------
astor-0.8.1 | py39haa95532_0 47 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
brotlipy-0.7.0 |py39h2bbff1b_1003 411 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cffi-1.15.0 | py39h2bbff1b_1 224 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cryptography-36.0.0 | py39h21b164f_0 1.0 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
decorator-5.1.1 | pyhd3eb1b0_0 12 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
gast-0.3.3 | py_0 14 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libprotobuf-3.19.1 | h23ce68f_0 1.9 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl-service-2.4.0 | py39h2bbff1b_0 51 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_fft-1.3.1 | py39h277e83a_0 139 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_random-1.2.2 | py39hf11a4ad_0 225 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy-1.21.5 | py39h7a0a035_1 25 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy-base-1.21.5 | py39hca35cd5_1 4.4 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
paddlepaddle-2.2.2 | py39_cpu_windows 49.0 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle
pillow-9.0.1 | py39hdc2b20a_0 921 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
protobuf-3.19.1 | py39hd77b12b_0 238 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pysocks-1.7.1 | py39haa95532_0 55 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
urllib3-1.26.9 | py39haa95532_0 190 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
win_inet_pton-1.1.0 | py39haa95532_0 35 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
------------------------------------------------------------
Total: 58.9 MB
The following NEW packages will be INSTALLED:
astor anaconda/pkgs/main/win-64::astor-0.8.1-py39haa95532_0
blas anaconda/pkgs/main/win-64::blas-1.0-mkl
brotlipy anaconda/pkgs/main/win-64::brotlipy-0.7.0-py39h2bbff1b_1003
cffi anaconda/pkgs/main/win-64::cffi-1.15.0-py39h2bbff1b_1
charset-normalizer anaconda/pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
cryptography anaconda/pkgs/main/win-64::cryptography-36.0.0-py39h21b164f_0
decorator anaconda/pkgs/main/noarch::decorator-5.1.1-pyhd3eb1b0_0
freetype anaconda/pkgs/main/win-64::freetype-2.10.4-hd328e21_0
gast anaconda/pkgs/main/noarch::gast-0.3.3-py_0
idna anaconda/pkgs/main/noarch::idna-3.3-pyhd3eb1b0_0
intel-openmp anaconda/pkgs/main/win-64::intel-openmp-2021.4.0-haa95532_3556
jpeg anaconda/pkgs/main/win-64::jpeg-9e-h2bbff1b_0
libpng anaconda/pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0
libprotobuf anaconda/pkgs/main/win-64::libprotobuf-3.19.1-h23ce68f_0
libtiff anaconda/pkgs/main/win-64::libtiff-4.2.0-hd0e1b90_0
libwebp anaconda/pkgs/main/win-64::libwebp-1.2.2-h2bbff1b_0
lz4-c anaconda/pkgs/main/win-64::lz4-c-1.9.3-h2bbff1b_1
mkl anaconda/pkgs/main/win-64::mkl-2021.4.0-haa95532_640
mkl-service anaconda/pkgs/main/win-64::mkl-service-2.4.0-py39h2bbff1b_0
mkl_fft anaconda/pkgs/main/win-64::mkl_fft-1.3.1-py39h277e83a_0
mkl_random anaconda/pkgs/main/win-64::mkl_random-1.2.2-py39hf11a4ad_0
numpy anaconda/pkgs/main/win-64::numpy-1.21.5-py39h7a0a035_1
numpy-base anaconda/pkgs/main/win-64::numpy-base-1.21.5-py39hca35cd5_1
paddlepaddle anaconda/cloud/Paddle/win-64::paddlepaddle-2.2.2-py39_cpu_windows
pillow anaconda/pkgs/main/win-64::pillow-9.0.1-py39hdc2b20a_0
protobuf anaconda/pkgs/main/win-64::protobuf-3.19.1-py39hd77b12b_0
pycparser anaconda/pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
pyopenssl anaconda/pkgs/main/noarch::pyopenssl-22.0.0-pyhd3eb1b0_0
pysocks anaconda/pkgs/main/win-64::pysocks-1.7.1-py39haa95532_0
requests anaconda/pkgs/main/noarch::requests-2.27.1-pyhd3eb1b0_0
six anaconda/pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1
tk anaconda/pkgs/main/win-64::tk-8.6.11-h2bbff1b_0
urllib3 anaconda/pkgs/main/win-64::urllib3-1.26.9-py39haa95532_0
win_inet_pton anaconda/pkgs/main/win-64::win_inet_pton-1.1.0-py39haa95532_0
xz anaconda/pkgs/main/win-64::xz-5.2.5-h62dcd97_0
zlib anaconda/pkgs/main/win-64::zlib-1.2.12-h8cc25b3_2
zstd anaconda/pkgs/main/win-64::zstd-1.4.9-h19a0ad4_0
Proceed ([y]/n)?
done完成