Occured probrem
I ran the following command to install an older version of opencv-contrib-python (4.0.0.21). Then an error occurred and this package could not be installed. How can I resolve this error?
pip install opencv-contrib-python==4.0.0.21
Collecting opencv-contrib-python==4.0.0.21
ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==4.0.0.21 (from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 3.4.10.35, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 4.1.2.30, 4.2.0.32, 4.2.0.34, 4.3.0.36, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46)
ERROR: No matching distribution found for opencv-contrib-python==4.0.0.21
Environment
Windows 10
Python 3.8.2
Pip 19.2.3
The version you specified opencv-contrib-python (4.0.0.21) does not have a relevant python3.8 version.
You need to use opencv corresponding to python3.8, or lower your python version to match the opencv version.
Related
I get an error when I want to install pykd using pip.
The error says:
ERROR: Could not find a version that satisfies the requirement pykd (from versions: none)
ERROR: No matching distribution found for pykd
When I try to download the .whl file of pykd and install it with pip, I get this error:
ERROR: pykd-0.3.4.15-cp39-none-win_amd64.whl is not a supported wheel on this platform.
I'm running python 3.11.0 on a Windows 11 64-Bit machine with pip 22.3.1. I tried older versions of pykd but same error.
Can anybody help so I am able to run pykd?
pykd-0.3.4.15-cp39-none-win_amd64.whl
it is not surprising what this wheel built special for python 3.9, so it can installed only for python 3.9
pykd build for 3.10 or 3.11 does not exsist. And there is no unversal pykd build. Sorry.
I recommend you use 3.8 python with pykd.
I have been around the mulberry bush for a few days trying to get tensorflow installed on an Ubuntu system. My specifications are;
Ubuntu: 20.04.3
Python (virtual environment): 3.6.15
Pip: 21.2.4
Tensorflow version wanted: 1.13.1
Tensorflow version will take: anything at this point
I followed a number of answers on the web. Got a compatible version of Python. Got the latest pip....
When I use the command;
pip3 install tensorflow==1.13.1
I get;
ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.1 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.13.1
when I do a pip_search on tensorflow, it shows tensorflow 2.6.0.
But when I do;
pip3 install tensorflow==2.6.0
I get the same error.
when I use the --upgrade switch to pip, I get the same error. I tried to install from a wheel file, but the file was incompatible on my system.
Any help is appreciated.
As per documentation of Tensorflow, version 1's final release that can be downloaded/installed is 1.15. Below this version are deprecated and no longer available to use in development.
Read it about here
I have:
macOS Mojave version 10.14.6
python 3.8.3
pip 21.1.3
pip install mediapipe
py -m pip install mediapipe
…
all give the following two errors:
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
Also what does version refer to? pip, python , mediapipe?
Note: To make Mediapipe work with TensorFlow, please set Python 3.7 as the default Python version and install the Python “six” library by running pip3 install --user six.
https://google.github.io/mediapipe/getting_started/install.html
Not sure if still relevant but I was running into this issue on an M1 MacBook Pro and the issue seems to be that mediapipe doesn't have an Apple silicon version. Note all the releases for mediapipe are x86/x64:
https://pypi.org/project/mediapipe/#files
I found a fix here, someone compiled it for silicon: https://github.com/google/mediapipe/issues/3277
Basically,
pip install mediapipe-silicon
I am trying to install opencv-contrib-python 3.3.0.9 using command python -m pip install opencv-contrib-python==3.3.0.9.
However it is throwing the following error:
Could not find a version that satisfies the requirement opencv-contrib-python==3.3.0.9 (from versions: 3.4.2.16, 3.4.2.17, 3.4.3.18, 3.4.4.19, 3.4.5.20, 3.4.6.27, 3.4.7.28, 3.4.8.29, 4.0.0.21, 4.0.1.23, 4.0.1.24, 4.
1.0.25, 4.1.1.26, 4.1.2.30)
No matching distribution found for opencv-contrib-python==3.3.0.9
I am using Python 3.7, opencv 4.1.2.30 and PyCharm.
Can you install a newer version of opencv-contrib-python by using
pip install opencv-contrib-python?
According to https://pypi.org/project/opencv-contrib-python/3.3.0.9/, that version does not support Python 3.7 and it also provides a link to the latest version which mention support Python 3.7 and installation guide (i.e. pip install opencv-contrib-python)
I have tried to install tensorflow-data-validation 0.9.0 with pip installation, but it keeps giving me the same error: Could not find a version that satisfies the requirement tensorflow-data-validation...
isn't this version available for windows or i am just missing something?
From the PyPi documentation on tensorflow-data-validation you can see the version compatibility:
Requires: Python >=2.7,<3
So you won't be able to install it with other versions (like your 3.6.2).