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

FileNotFoundError: [Errno 2] No such file or directory: 'pip': 'pip' #33

Open
LinqLover opened this issue Jul 13, 2020 · 2 comments
Open

Comments

@LinqLover
Copy link

On our machines, only pip3 is installed. Would be nice to add support for this setup.

@LinqLover
Copy link
Author

Simple workaround: Patch this

subprocess.check_call(['pip', 'install', pinned])

like this

-                 subprocess.check_call(['pip', 'install', pinned])
+                 subprocess.check_call(['pip3', 'install', pinned])

@johantiden
Copy link

Or add a symlink pip -> pip3 on your path, like the ubuntu package python-is-python3 does.

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