The bug is found in pip 10.0.0.
In linux you need to modify file: /usr/bin/pip from:
from pip import main
if __name__ == '__main__':
sys.exit(main())
to this:
from pip import __main__
if __name__ == '__main__':
sys.exit(__main__._main())
More Related Contents:
- PyCharm: ImportError no module named X?
- Why use pip over easy_install?
- What is the difference between pip and conda?
- How to install python3 version of package via pip on Ubuntu?
- Getting “Permission Denied” when running pip as root on my Mac
- What is a virtualenv, and why should I use one?
- Why are packages installed rather than just linked to a specific environment?
- What’s the difference between dist-packages and site-packages?
- Python and pip, list all versions of a package that’s available?
- Renaming a virtualenv folder without breaking it
- What’s the difference between “pip install” and “python -m pip install”?
- Is there a way to list pip dependencies/requirements?
- Problems with pip install numpy – RuntimeError: Broken toolchain: cannot link a simple C program
- pip issue installing almost any library
- python pip on Windows – command ‘cl.exe’ failed
- pip install: Please check the permissions and owner of that directory
- Python Pip install Error: Unable to find vcvarsall.bat. Tried all solutions [duplicate]
- How to override the pip command to Python3.x instead of Python2.7?
- PIP: “Cannot uninstall ‘ipython’. It is a distutils installed project and thus we cannot accurately determine…” [duplicate]
- Python Pip broken with sys.stderr.write(f”ERROR: {exc}”)
- Illegal instruction (core dumped) after running import tensorflow
- How can I install Python’s pip3 on my Mac?
- Pip Install not installing into correct directory?
- python pip install psycopg2 install error
- Upgrading pip fails with syntax error caused by sys.stderr.write(f”ERROR: {exc}”)
- virtualenv: Specifing which packages to use system-wide vs local [duplicate]
- Install Beautiful Soup using pip [duplicate]
- How can I host my own private conda repository?
- Import statement works on PyCharm but not from terminal
- NumPy library ImportError: DLL load failed: The specified procedure could not be found