Pip could not find a version that satisfies the requirement
Question:
I’m having problems with installing a package using pip
. I tried:
pip install jurigged
Causing these errors:
ERROR: Could not find a version that satisfies the requirement jurigged (from versions: none)
ERROR: No matching distribution found for jurigged
I checked if pip
was up to date which was the case. I’m on Python 3.7.4.
Does anyone know a solution to this problem?
Answers:
You can solve this problem by typing
pip install pandas --trusted-host pypi.org --trusted-host files.pythonhosted.org
to cmd
AND
If you want to fix this setting, in window, make file %HOME%pippip.ini
and add code below to the file,
[global]trusted-host = pypi.org
files.pythonhosted.org
1 – You had installed python3
but your python in /usr/bin/python
may be still the older version so run the following command to fix it
python3 -m pip install <pkg>
2 – The other possible reason could be initially forgetting the -r
: Use pip install -r requirements.txt
the -r
is essential for the command.
3 – If still not working, there is one more way to fix this error. try this but first, get the version of your package
python3 -m pip install --pre --upgrade PACKAGE==VERSION.VERSION.VERSION
4 – You know sometimes the package already exists then also we get this error, so try to check if u are able to import or not.
5 – Try pipwin
instead of pip
sometimes if the problem is with pip this works as a magic
6 – Don’t forget to turn on your internet, strange but it happens sometimes.
let me know if the problem persists. But as per my guess, it should work now.
I’m having problems with installing a package using pip
. I tried:
pip install jurigged
Causing these errors:
ERROR: Could not find a version that satisfies the requirement jurigged (from versions: none)
ERROR: No matching distribution found for jurigged
I checked if pip
was up to date which was the case. I’m on Python 3.7.4.
Does anyone know a solution to this problem?
You can solve this problem by typing
pip install pandas --trusted-host pypi.org --trusted-host files.pythonhosted.org
to cmd
AND
If you want to fix this setting, in window, make file %HOME%pippip.ini
and add code below to the file,
[global]trusted-host = pypi.org
files.pythonhosted.org
1 – You had installed python3
but your python in /usr/bin/python
may be still the older version so run the following command to fix it
python3 -m pip install <pkg>
2 – The other possible reason could be initially forgetting the -r
: Use pip install -r requirements.txt
the -r
is essential for the command.
3 – If still not working, there is one more way to fix this error. try this but first, get the version of your package
python3 -m pip install --pre --upgrade PACKAGE==VERSION.VERSION.VERSION
4 – You know sometimes the package already exists then also we get this error, so try to check if u are able to import or not.
5 – Try pipwin
instead of pip
sometimes if the problem is with pip this works as a magic
6 – Don’t forget to turn on your internet, strange but it happens sometimes.
let me know if the problem persists. But as per my guess, it should work now.