i tried so many things like reinstalling, path setting give this type of error while install pywin32.
Collecting pypiwin32
Using cached pypiwin32-223-py3-none-any.whl (1.7 kB)
Using cached pypiwin32-219.zip (4.8 MB)
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 "", line 2, in
File "", line 34, in
File "C:\Users\3563tu\AppData\Local\Temp\pip-install-fn06ble2\pypiwin32_74a1c02ec5424c6293525e093c6dcd0b\setup.py", line 121 print "Building pywin32", pywin32_version
^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Building pywin32", pywin32_version)?
[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.
WARNING: Ignoring invalid distribution -ip (c:\msys64\mingw64\lib\python3.9\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\msys64\mingw64\lib\python3.9\site-packages)\
SyntaxError: Missing parentheses in call to 'print'.is the issue. This means that this package is for python 2 and doesn't have a python 3 version. PyPI info page doesn't have any info at all on this package.install python 2 in MY_OPERATING_SYSTEM,create virtualenv for python 2 in MY_OPERATING_SYSTEM,using virtualenv. That should be enough to get you started...