google-cloud-storage library cannot be installed in Python 3.7 - python

For a project I need to import google-cloud-storage library in python to use speech to text service. While trying to install it via pip, I keep getting the below error:
" Looking in indexes: https://www.artifactrepository.clientdomain.net/artifactory/api/pypi/pypi-dev/simple Collecting google-cloud-storage Could not find a version that satisfies the requirement google-cloud-storage (from versions: ) No matching distribution found for google-cloud-storage"
note that , I have been working inside client domain and the python version I am working with is 3.7.3
I have tried different workarounds available in web and still can't resolve the error. Can anyone please help.

Related

No matching distribution found for py2neo==3.1.2 (from chat)

I was following this tutorial and I was installing the dependencies but when I was installing "chat" it raised this error:
ERROR: Could not find a version that satisfies the requirement py2neo==3.1.2 (from chat) (from versions: 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.0, 4.3.0, 2020.0.0, 2020.1.0, 2020.1.1, 2021.0.0, 2021.0.1, 2021.1.0, 2021.1.1, 2021.1.2, 2021.1.3, 2021.1.4, 2021.1.5, 2021.2.0, 2021.2.1, 2021.2.2, 2021.2.3)
ERROR: No matching distribution found for py2neo==3.1.2 (from chat)
Any suggestions to fix this problem?
It seems like you tried to install chat by using pip install chat. However, the tutorial you linked is using a chat.py file, which you should create. The tutorial does not suggest to install chat.
By the way, the chat package seems to be a bit outdated according to its release history: the last release was in mid-2018. So, the error you're seeing makes sense since py2neo switched to calendar versioning in 2020, and chat is requesting 3.1.2, which confirms that this library was developed before 2020.

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

I'm getting this type of error when installing the library.
Not for all packages, but only for some. Is it because pip version? or Because of python interpreter?
Plz guide me what should I do.
You don't need to install this package because it's already in the standard library.
Just import time in any Python file.

snmp responder installing error : ERROR: Could not find a version that satisfies the requirement pysnmp>=5.0.0 (from snmpresponder)

I am trying to install snmpresponder using the pip (in windows). I am using python 2.7. I found the snmpresponder from the following website. http://snmplabs.com/snmpresponder/
This is what I tried
pip install snmpresponder
But I am getting the following error.
Collecting snmpresponder
Using cached https://files.pythonhosted.org/packages/ba/47/5fee2bffe4b63f750d9f55118fce1796610eb2bf90b8526f584b05d56cb8/snmpresponder-0.0.2-py2.py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement pysnmp>=5.0.0 (from snmpresponder) (from versions: 4.1.16d, 4.1.12a0, 4.1.13a0, 4.1.15a0, 4.1.16a0, 4.1.16b0, 4.1.16rc0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 4.4.10, 4.4.11, 4.4.12)
ERROR: No matching distribution found for pysnmp>=5.0.0 (from snmpresponder)
and I checked my version it is showing 4.4.12 (using pip show pysnmp)
Name: pysnmp
Version: 4.4.12
Summary: SNMP library for Python
Home-page: https://github.com/etingof/pysnmp
Author: Ilya Etingof
Author-email: etingof#gmail.com
License: BSD
Location: c:\python27\lib\site-packages
Requires: pycryptodomex, pysmi, pyasn1
I also tried for the update also, still, it is showing version less than 5.0.0? So what should I do for installing the snmpresponder? Should I change pysnmp or download it using some other way. Please ask If you need more details. My basic need is to fix some error I am facing in the SNMP agent side.
SNMP responder tool is still in a work-in-progress state. Better pull snmpresponder from GitHub, it depends on GitHub version of pysnmp so the dependencies would be satisfied right away.

When installing CsvFormat in python:"No matching distribution found for CsvFormat" error

I am trying to install CsvFormat package
I am using python 2.7.10
vm02$ pip install --user CsvFormat
Error is
Collecting CsvFormat
Could not find a version that satisfies the requirement CsvFormat (from versions: )
No matching distribution found for CsvFormat
vm02$ python -V
Python 2.7.10
based on what I understand you are trying to read a csv file in python, The best way to do that is get pandas and then run the following command
import pandas
file = pandas.read_csv("Location of your file")
Check this link for More information pypi.org
And if Ive misunderstood your question Please let me know.

Cannot install python packages thorugh PyPi in Azure Databricks

I want to call a webservice from a Databricks Notebook through Python. The needed library for this seems to be http.client.
I have already found a code snippet to test this but when i try to execute it i get the following error:
ImportError: No module named http.client
This is correct cause i have no module installed yet.
In the next step i go to a folder within my Databricks, select Import -> Import Notebooks dialog click on (To import a library, such as a jar or egg, click here) -> Select in the Language DropDown Upload Python Egg or PyPI -> in pyPI name typehttp.client` and click on Install Library.
Then i select Attach automatically to all clusters.
I receive the following error:
Error: java.lang.RuntimeException: Installation failed with message:
Collecting http.client Collecting http.client Could not find a version
that satisfies the requirement http.client (from versions: ) No
matching distribution found for http.client You are using pip version
9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Could not find
a version that satisfies the requirement http.client (from versions: )
No matching distribution found for http.client You are using pip
version 9.0.1, however version 18.0 is available. You should consider
upgrading via the 'pip install --upgrade pip' command.
How can i fix this?
Can you import httplib, it must resolve the issue

Categories

Resources