在使用pip更新multiprocessing时:
(py39) D:\Download\PhotoMaker-main\PhotoMaker-main>pip3 install --upgrade multiprocessing
Collecting multiprocessing
Using cached multiprocessing-2.6.2.1.tar.gz (108 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 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\10333\AppData\Local\Temp\pip-install-5qa6vlho\multiprocessing_59b0a78977fe4d4996c66ddf39ba6f3f\setup.py", line 94
print 'Macros:'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Macros:')?
[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.
出现了问题,请问如何解决这个问题?
pip 23.2.1,windows11,python3.9.11