When i tried to install openCV using pip3 install opencv-python i got this error
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
i have tried upgrading pip using
pip install --upgrade pip
and
curl https://bootstrap.pypa.io/get-pip.py | python
none of them helped me and pip is up to date
tried to download and compile opencv manually gives me bunch of errors
python version -2.7,3.6.2
pip version- up to date
raspberry pi 2
Normally this information means that your python version or OS version not compatible with any openCV version which pip can find on the internet.
Could not find a version that satisfies the requirement opencv-python (from versions: ) No matching distribution found for opencv-python
So, please check your python version (include 32bit or 64bit) and OS type, version, and then try pip again.
I use python3.6.5 32bit(virtualenv), windows 10 64bit install openCV succeed.
https://pypi.org/project/opencv-python/ says: "Note that the wheel (especially manylinux) format does not currently support properly ARM architecture so there are no packages for ARM based platforms in PyPI. However, opencv-python packages for Raspberry Pi can be found from https://www.piwheels.org/."
Related
I have tried to use pip install mediapipe, and other similar methods of pip install to install mediapipe as i need it for one of my projects. I am stumped and don't know what to do anymore. I have python 3.8 and the latest version of pip.
This is the error I keep getting:
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
you can specify the specific version of the lib
such as:
pip install mediapipe==0.8.9.1 (the version which you want.)
You have to change the python version to 3.7 with 64bit then only you can install it
if you can create a virtual environment for it as well so that will do great
I want to install pytorch3d version 0.3.0 or above, but pip sees only 0.0.1 version for installing. I runned next commands:
pip install pytorch3d==0.3.0
And got the next error:
ERROR: Could not find a version that satisfies the requirement pytorch3d==0.3.0 (from versions: 0.0.1)
ERROR: No matching distribution found for pytorch3d==0.3.0
If I run the install command without a specific version, pip will install the package with version 0.0.1.
My environment:
Windows 10 x64
Python 3.9.7
pip 21.2.4
Note:
direct internet connection, no proxy used
I haven't others versions python on pc
same errors when installing next packages: torchvision==0.7.0, torch==1.6.0
I tried with the virtualenv and without them
I installed Python from the windows store.
From their installation guide and your requirements use:
pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu102_pyt190/download.html
Specified package cannot be installed via pip, because not supported on my os(Windows 10). This can be seen on the page with the version and available files for download of the required package.
I downloaded the package PyAudio-0.2.11-cp39-cp39-win_amd64 and copied it in the script file in python 3.9 directory, but when i tried to install the pack pip throws me errors
ERROR: No matching distribution found for PyAudio-0.2.11-cp39-cp39-win_amd64
I tried to upgrade pip as a solution that i found it here in Stack :
pip install --upgrade pip
then:
pip install PyAudio-0.2.11-cp39-cp39-win_amd64
but pip keeps failing with an this Error :
ERROR: Could not find a version that satisfies the requirement PyAudio-0.2.11-cp39-cp39-win_amd64
`ERROR: No matching distribution found for PyAudio-0.2.11-cp39-cp39-win_amd64`
I also tried
pip install pipwin
pipwin install pyaudio
is there any other solutions please ?
Maximum officially supported version of python for pyaudio is 3.6; quoting from the Installation page:
Microsoft Windows
Install using pip:
python -m pip install pyaudio
Notes:
If pip is not already bundled with your installation of Python, get it
here. pip will fetch and install PyAudio wheels (prepackaged
binaries). Currently, there are wheels compatible with the official
distributions of Python 2.7, 3.4, 3.5, and 3.6. For those versions,
both 32-bit and 64-bit wheels are available.
You could read about installing different versions of the python on your machine and use it with 3.6 version of python without any errors
I tried to install PTAN liblary using pip
python -m pip install PTAN==0.6
But it shows error
ERROR: Could not find a version that satisfies the requirement torch==1.3.0 (from ptan)
ERROR: No matching distribution found for torch==1.3.0
I can install it by running:
python -m pip install PTAN
But then I get old version of this.
How to install current version of PTAN without errors?
I'm using Linux ubuntu and Python 3.8
ptan 0.6 is broken at the time being. The issue is that the dependencies are requiring exact versions of the same package (torch in this case) which pip cannot handle as it uninstalls the previous version.
I tried finding what other package was requiring a version of torch that's not version 1.3.0 but I couldn't find it, maybe somebody else could find it, not that it matters too much for us though.
Your best bet is to install the older version of ptan which is 0.4 released July 1:st 2020.
pip install ptan==0.4
I have been trying to install opencv for Python 3.8.0 on fresh install of Windows 10. Here is the command I ran:
C:\Windows\system32>py -m pip install opencv-python
However, I was met with this error:
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
I have tried:
Running the command prompt as admin
Upgrading pip using py -m pip install --upgrade pip
Checking to make sure I was able to install other libraries with pip. (I tried discord.py and Pillow, all worked)
opencv-python is a collection of pre-built whl files, as you can see in the project description on the pypi page:
OpenCV on Wheels
Unofficial pre-built OpenCV packages for Python.
And is the case for many modules currently, there are no whl files for python 3.8 in that project.
So simply install a different python version and try again with
pip install opencv-python
or
download the whl for python 3.8 from here and then do
pip install opencv_python‑4.1.2‑cp38‑cp38‑win_amd64.whl