This question already has answers here:
Installing specific package version with pip
(12 answers)
Closed 2 years ago.
I want to install an older version of flask and can't figure out how to do that and I am using an Linux machine. I checked other questions about how to determine the version of flask but they only return the version of flask and even after trying different methods I cannot figure out how to do it.
pip install flask==<VERSION>
Looking at the pip documentation it looks like you can do that by typing:
pip install packagename == 1.4
in this case you would type pip install flask==(the version you want)
Related
This question already has answers here:
ModuleNotFoundError: No module named 'distutils.core'
(6 answers)
Closed 2 days ago.
I am installing AGE driver support for python by following their documentation. I have python 3.10 on my Ubuntu. I have cloned the repository successfully. But when i run the command python setup.py install. I am getting this error.
It would be great if someone help.
This means that you don't have the package installed.
Run the following commands
sudo apt update
sudo apt install python3-distutils
sudo apt install python3-apt
And if the error still not goes away try re-installing the packages.
This question already has answers here:
How to run pip from different versions of python using the python command?
(4 answers)
Closed 2 years ago.
I want to install a library that only works on python 3.7 but i also have python 3.8. I can do between 2.x and 3.x but not between 3.x verisons. Any help is appriciated thank you!
Found it!
py 3.x -m pip install <MODULE>
works!
pip install SomePackage
Eg.
pip install numpy
pip install flask
This question already has answers here:
How can I install packages using pip according to the requirements.txt file from a local directory?
(19 answers)
Installing packages from a list using pip
(2 answers)
Closed 2 years ago.
I have a list of Python projects (libraries) such as:
libraries = ['numpy', 'pandas', 'matplotlib', 'torch', 'gensim', 'cv2', 'tpot', 'librosa']
I would like to get these installed from within Python code (similar to pip install libraries) while ignoring potential failures. How do I proceed with such a task?
This question already has answers here:
How do I install pip on Windows?
(40 answers)
Closed 4 years ago.
On my computer (windows 8.1) there is python 3.4.
When I try to install module with pip install the code that I use is:
py -m pip install ...
But the command line returns the following error:
C:\Python34\python.exe: No module named pip.__main__; 'pip' is a package and cannot be directly exec
uted
Pip is just not a standalone executable. It is a python module.
So as a matter of fact you can do this (Tested with numpy, worked correctly as wanted):
python -m pip install numpy
Well, you should see the documentation on Python.
I did mention that Pip is a standalone executable. If it is in you path then you can also do this:
pip install numpy
Make sure python is in your path.
This question already has an answer here:
PyQt 5.11 missing WebEngine modules
(1 answer)
Closed 4 years ago.
How to install PyQtWebEngine in PyQt5.11?
I tried pip3 install PyQtWebEngine.
Could not find a version that satisfies the requirement PyQtWebEngine (from versions: )
No matching distribution found for PyQtWebEngine
The problem is in python 32bit.
PyQtWebEngine does not work with 32bit.
Installed Python 64bit and the problem is solved.