As @TomdeGeus mentioned in the comments, this command works for me:
Python 3:
python3 -m pip install [package_name]
Python 2:
python -m pip install [package_name]
More Related Contents:
- Dealing with multiple Python versions and PIP?
- pip install from git repo branch
- ‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]
- How to install pip with Python 3?
- “ssl module in Python is not available” when installing package with pip3
- pip install mysql-python fails with EnvironmentError: mysql_config not found
- How to state in requirements.txt a direct github source
- How to install python modules without root access?
- PyCharm doesn’t recognise installed module
- python pip specify a library directory and an include directory
- Upgrade python in a virtualenv
- pip ignores dependency_links in setup.py
- pip: how to install a git pull request
- How to run Pip commands from CMD
- ImportError: cannot import name _imaging
- pyclipper installation error: “tp_print is not a member of _typeobject”
- How to pip install a package with min and max version range?
- pip install . creates only the dist-info not the package
- Can’t install pygame with pip as there is an error whilst runningvsetup.py bdist_wheel for pygame [duplicate]
- How to install PIP on Python 3.6?
- What is the difference between ‘py’ and ‘python’ in the Windows terminal?
- How to install PyGame on Python?
- Conda: Installing / upgrading directly from github
- what url should I authorize to use pip behind a firewall?
- What is pyproject.toml file for?
- can’t pip install mysql-python
- What is the difference between pyenv, virtualenv, anaconda?
- Can pip be used with Python Tools in Visual Studio?
- The ‘pip==7.1.0’ distribution was not found and is required by the application
- Is there any way to show the dependency trees for pip packages?