I'm trying to install opencv-python using the following command sudo pip3 install opencv-python but I keep getting the following 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 tried upgrading the pip with the command pip install --upgrade pip and than trying again to install the opencv-python, but I'm still getting the same error.
This is due to the fact that there a no .whl on pypi for the raspberry architecture. You can also see this on the FAQ section of opencv-python README on Github:
Q: Pip fails with Could not find a version that satisfies the requirement ...?
A: Most likely the issue is related to too old pip and can be fixed by running pip install --upgrade pip. 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/.
You should always check these pages for additional dependencies or installation notes for special architectures if you are facing any issues.
Note that you can quickly get there by visitng the Pypi page and then selectin the Homepage button
Related
I am installing layout-parser and following this link. Did not face any issues with the following packages.
pip install layoutparser
pip install "layoutparser[effdet]"
pip install layoutparser torchvision
pip install "layoutparser[paddledetection]"
pip install "layoutparser[ocr]"
But I am not able to install detectron2
pip install "git+https://github.com/facebookresearch/detectron2.git#v0.5#egg=detectron2"
while installing this package I am getting this error
ERROR: Could not find a version that satisfies the requirement detectron2 (unavailable) (from versions: none)
ERROR: No matching distribution found for detectron2 (unavailable)
I followed the same installation guide in Google collab and it worked but not able to install them in my Azure workspace.
Check your python version. If you have Python version as 3.10 or higher you will face this issue. This is because detectron2 library has only wheels for <= Python 3.9.
I want to use DeepSpeech of Mozilla on my Linux 22.04 system, following this website:
https://deepspeech.readthedocs.io/en/r0.9/?badge=latest
At the very beginning line, at
pip3 install deepspeech
I got this error:
ERROR: Could not find a version that satisfies the requirement deepspeech (from versions: none)
ERROR: No matching distribution found for deepspeech
I ran into internet and followed all methods such as upgrading pip3, using pip instead of pip3. I could not solve the problem.
This website:
https://github.com/mozilla/DeepSpeech/issues/3693
suggests to use archive. I did not understand which repository should I archive at this step.
It is very nice of you if you can help me
The pip command you mentioned above worked for me:
Try updating your linux packages
sudo apt update
sudo apt upgrade
Then trying again if it does not work trying using python
python -m pip install deepspeech
I am trying to install flair. It is throwing below error when executing below command:
pip install flair
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core# https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz
I thought installing this package explicitly might fix the error but it doesn't. The error remains same.
The installed version of SudachiDict-core is below:
SudachiDict-core 0.0.0
Below is the Environment:
OS: Windows 10
Python: 3.6 (64 bit)
Any hint is appreciated. Thank you!
Note:
First hurdle when installing flair was torch package. It was resolved simply when torch package is installed. The error looked like below:
ERROR: Could not find a version that satisfies the requirement torch>=1.1.0 (from flair) (from verERROR: No matching distribution found for torch>=1.1.0 (from flair)
You can try
pip install --upgrade git+https://github.com/zalandoresearch/flair.git
Source: https://github.com/flairNLP/flair/issues/1327#issuecomment-571639994
Or
to install separately:
pip install tiny-tokenizer
After this run:
pip install flair
It is strange running below command solved the problem.
pip install flair==0.4.3
I assume that the problem is in a latest version 0.4.4 (and its dependencies).
Note: I had torch==1.1.0 package already installed.
I am trying to install NLP library "Flair" using pip and getting the error message:
ERROR: Could not find a version that satisfies the requirement torch>=1.0.0 (from flair) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.0.0 (from flair)"
What should I do
I am using python3.6 and tried to install flair using cmd and pip in virtualenv. But there is still error messages.
(env) C:\Users\HP>pip install flair
I want the installation without any issue.enter image description here
Pytorch or torch is currently cannot be installed using pypi in windows.
You will need conda to accomplish that:
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
OR
for older torch version you can use whl file, Cuda version can be 8.0,9.0,10.0
pip install torch==1.0.1 -f https://download.pytorch.org/whl/cu90/stable # CUDA 9.0 build
I solved it by installing the following packages :
!pip install tiny-tokenizer flair
I was getting the same error.
Below steps worked for me on Windows10,Python3.6
1.Installing Pytorch by following the official installation instructions from https://pytorch.org The have well documented details.
Based on your selection of package [pip/conda etc] and OS [Mac/Linus/Windows] it will provide command .
This link provides useful details on how to install pytorch -
how to install pytorch
2.After successful installation of pytorch,just install Flair using command
pip install flair
Upgrade your pip and try again.
pip install --upgrade pip
pip install torch
I want to install SoundRecongnition package but I'm getting the following error when I type: pip3 install SoundRecognition
"Could not find a version that satisfies the requirement SoundRecognition (from versions: )
No matching distribution found for SoundRecognition"
I tried upgrading the pip. Also tried using the --user tag but still facing the problem.
I'm using pip 19.0.3 version, python 3.7.0 version, and Pycharm as IDE.
ERROR: Could not find a version that satisfies the requirement speech_recognition (from versions: none)
ERROR: No matching distribution found for speech_recognition
just use
pip install SpeechRecognition
pip install SpeechRecognition
you just try above SpeechRecognition...i think sound recognition module not there in pip
There is no SoundRecongnition at PyPI (it is where from pip installs packages). What package do you mean? I cannot find it on the Net.
Do you mean SpeechRecognition?
pip install SpeechRecognition