Install requirments.txt problem
idlotest opened this issue · 4 comments
I'm facing with problem as bellow during the installation of requirments.txt :
└─# pip install -r requirements.txt
Collecting pynput==1.7.3
Using cached pynput-1.7.3-py2.py3-none-any.whl (99 kB)
Collecting pyscreenshot==0.5.1
Using cached pyscreenshot-0.5.1.tar.gz (16 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
/home/examer/Desktop/Keylogger/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py:264: UserWarning: Unknown distribution option: 'use_2to3_exclude_fixers'
warnings.warn(msg)
error in pyscreenshot setup command: use_2to3 is invalid.
[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.
The error is due to the use_2to3 option in pyscreenshot's setup, affecting package metadata generatio
Same problem here...
To solve this problem, update pyscreenshot==0.5.1
to pyscreenshot==3.1
in requirements.txt
.
To solve this problem, update
pyscreenshot==0.5.1
topyscreenshot==3.1
inrequirements.txt
.
Genious! Thank you so much!