使用Anaconda pip安装paddle包 报错 如图
subprocess-exited-with-error
(Python39) C:\Users\17128>pip install paddle
Collecting paddle
Using cached paddle-1.0.2.tar.gz (579 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\17128\AppData\Local\Temp\pip-install-ql_kbh8r\paddle_223cb0a23d454079956c5b78d60f81fb\setup.py", line 3, in <module>
import paddle
File "C:\Users\17128\AppData\Local\Temp\pip-install-ql_kbh8r\paddle_223cb0a23d454079956c5b78d60f81fb\paddle\__init__.py", line 5, in <module>
import common, dual, tight, data, prox
ModuleNotFoundError: No module named 'common'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.