I had installed python3 but my python in /usr/bin/python was still the old 2.7 version
This worked (<pkg>
was pyserial
in my case):
python3 -m pip install <pkg>
More Related Contents:
- How to state in requirements.txt a direct github source
- pip freeze creates some weird path instead of the package version
- Is there a way to list pip dependencies/requirements?
- Reference requirements.txt for the install_requires kwarg in setuptools setup.py file
- How to specify install order for python pip?
- Delete unused packages from requirements file
- Is there any way to show the dependency trees for pip packages?
- pip freeze without dependencies of installed packages
- Install PyTorch from requirements.txt
- 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
- 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?
- What’s the difference between “pip install” and “python -m pip install”?
- Problems with pip install numpy – RuntimeError: Broken toolchain: cannot link a simple C program
- python pip on Windows – command ‘cl.exe’ failed
- 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?
- virtualenv: Specifing which packages to use system-wide vs local [duplicate]
- Does uninstalling a package with “pip” also remove the dependent packages?
- How to install python3.7 and create a virtualenv with pip on Ubuntu 18.04?
- How to install multiple python packages at once using pip