Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install requirments.txt problem #39

Open
idlotest opened this issue Feb 8, 2023 · 4 comments
Open

Install requirments.txt problem #39

idlotest opened this issue Feb 8, 2023 · 4 comments

Comments

@idlotest
Copy link

idlotest commented Feb 8, 2023

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.

@elhaddajiOtmane
Copy link

elhaddajiOtmane commented Apr 1, 2023

The error is due to the use_2to3 option in pyscreenshot's setup, affecting package metadata generatio

@Mefistofelesxxx
Copy link

Same problem here...

@szczodralama
Copy link

To solve this problem, update pyscreenshot==0.5.1 to pyscreenshot==3.1 in requirements.txt.

@Ca-tt
Copy link

Ca-tt commented Feb 4, 2024

To solve this problem, update pyscreenshot==0.5.1 to pyscreenshot==3.1 in requirements.txt.

Genious! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants