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

Wrong pip version used #674

Open
timothee-dione-evooq opened this issue May 27, 2024 · 2 comments
Open

Wrong pip version used #674

timothee-dione-evooq opened this issue May 27, 2024 · 2 comments

Comments

@timothee-dione-evooq
Copy link

Hi,
I try running this hook on Ubuntu 23.10, and when I launch the command "pre-commit run", I systematically get the following error:

ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-bolo7r0i/
WARNING: You are using pip version 19.1, however version 20.3.4 is available.

The point is the following:

Does someone have an idea on how I can resolve it ?

Thanks

@andrewimeson
Copy link
Contributor

This isn't related to yamllint, this is a pre-commit issue. I would just pre-commit uninstall on the repo, and the uninstall and reinstall pre-commit with pip. If that doesn't work, find out how to get help from the pre-commit project.

@timothee-dione-evooq
Copy link
Author

The solution was to update virtualenv to the last version for my distribution (Ubuntu 23.10). The version could be found here: https://packages.ubuntu.com/mantic/virtualenv

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

2 participants