Not able to install mysql-connector using pip - python

On giving : >pip install mysql-connector
Looking in indexes: https://nexus-commons.apps.ocp4dev.av.ae.ge.com/repository/pypi-hosted/simple
Looking in links: https://nexus-commons.apps.ocp4dev.av.ae.ge.com/repository/pypi-hosted/simple
ERROR: Could not find a version that satisfies the requirement mysql-connector (from versions: none)
ERROR: No matching distribution found for mysql-connector

Related

ERROR: Could not find a version that satisfies the requirement fgsea (from versions: none)

I'm having problems with installing a package using pip. I tried to installs this commands in google COLAB:
pip install fgsea
and
pip install msigdbr
I get this Errors :
ERROR: Could not find a version that satisfies the requirement msigdbr (from versions: none)
ERROR: No matching distribution found for msigdbr
and
ERROR: Could not find a version that satisfies the requirement fgsea (from versions: none)
ERROR: No matching distribution found for fgsea
How I can solve this errors ?

Problem in installing testCases_v2 in VScode

Python version = 3.10.1, pip version = 22.2.2 and I'm using VScode version 1.71.2. When I try to install pip install testCases_v2, I get this error
ERROR: Could not find a version that satisfies the requirement testCases_v4 (from versions: none)
ERROR: No matching distribution found for testCases_v4
How can I proceed from here?

Failure to pip install tensorflow on M1 mac

My environment is using Python 3.7 in conda, when attempting a pip install -r requirements.txt I get the following.
Collecting tensorflow~=2.4.0
Downloading tensorflow-2.4.4-cp37-cp37m-macosx_10_14_x86_64.whl (174.3 MB)
|████████████████████████████████| 174.3 MB 20.3 MB/s
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu~=2.4.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu~=2.4.0
Are there any suggestions here to fix this or to get an insight into what is happening here. I believe the line causing the issue in the requirements.txt is
tensorboard~=2.4
tensorboard-plugin-wit~=1.8
As suggested if I try the command
python3 -m pip install tensorflow-macos
I get the following
ERROR: Could not find a version that satisfies the requirement tensorflow-macos (from versions: none)
ERROR: No matching distribution found for tensorflow-macos

MailCorpus using pip

I have python 3.7.4 and want to install MailCorpus using pip.
I use this but I receive error:
>pip install MailCorpus
Collecting MailCorpus
ERROR: Could not find a version that satisfies the requirement MailCorpus (from versions: none)
ERROR: No matching distribution found for MailCorpus
Any problem with version?

How to install old version of library in Pip3

I would like to use opencv-python and opencv-contrib-python versions in 3.3 or below on Python 3.7. The issue is that I can't seem to get them on pip3. I need it to be pip3 and Python 3.7 because it's to run on Google Cloud Functions.
If I run $ pip3 install opencv-contrib-python== to get the versions I get:
versions: 3.4.2.16, 3.4.2.17, 3.4.3.18, 3.4.4.19, 3.4.5.20, 4.0.0.21, 4.0.1.24, 4.1.0.25
and from pip3 install opencv-python==
versions: 3.4.2.16, 3.4.2.17, 3.4.3.18, 3.4.4.19, 3.4.5.20, 4.0.0.21, 4.0.1.24, 4.1.0.25
How can I get older versions like 3.3.1.11 which are available in pip2?
Of course deploying trying to get the old version on GCloud gives me
ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Build failed: {"error": {"canonicalCode": "INVALID_ARGUMENT", "errorMessage": "`pip_download_wheels` had stderr output:\n Could not find a version that satisfies the requirement opencv-python==3.2.0.7 (from -r requirements.txt (line 2)) (from versions: 3.4.2.17, 3.4.3.18, 3.4.4.19, 3.4.5.20, 4.0.0.21, 4.0.1.23, 4.0.1.24, 4.1.0.25)\nNo matching distribution found for opencv-python==3.2.0.7 (from -r requirements.txt (line 2))\n\nerror: `pip_download_wheels` returned code: 1", "errorType": "InternalError", "errorId": "91F6A3AC"}}

Categories