I use this import to import the googleapiclient in my Python project...
import googleapiclient.discovery
when I try to install the package, I get this error
ERROR: Could not find a version that satisfies the requirement googleapiclient (from versions: none)
ERROR: No matching distribution found for googleapiclient
WARNING: You are using pip version 21.3.1; however, version 23.0 is available.
You should consider upgrading via the 'C:....\venv\Scripts\python.exe -m pip install --upgrade pip' command.
I upgraded my pip version and it says I have the 23.0 installed but somehow it is not applying for the Project I think. Can someone help me how it should work?
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 use pyCharm software in windows 10, and when I tried to install open3d the following error appeared:
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
I tried to install it using cmd but the same error appeared, also pip version is 20.1.1.
Image
If you can't seem to upgrade open3d to version 0.13.0;
Upgrade to the latest pip version
python3 -m pip install --upgrade pip
and
sudo pip3 install open3d==0.13.0
Hope that works.
Solved: by installing python version 3.77 and run code using it instead of 3.8
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 py7zlib package, however I am getting below error:
ERROR: Could not find a version that satisfies the requirement py7zlib (from versions: none)
ERROR: No matching distribution found for py7zlib
I am using Python 3.6.
I tried:
pip install py7zlib
I would like to have this package working properly.
pip install pylzma.
This package include py7zlib
All I want to do is install pyodbc. I am using python 3.4.4 and I can verify the installation is not correct since running import pyodbc causes the error ImportError: No module named 'pyodbc'. In my /Python/Scripts directory I have tried multiple times running pip install pyodbc which gives Requirement already satisfied (use --upgrade to upgrade): pyodbc in c:\python34\
lib\site-packages and after searching I believe that means it has already been installed.
Additionally I tried downloading the .whl file and installing it as pip install pyodbc-4.0.17-cp34-cp34m-win_amd64.whl which gives pyodbc-4.0.17-cp34-cp34m-win_amd64.whl is not a supported wheel on this platform.
What am I not doing that I need to do in order to get it installed properly?