google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

Cannot pip install google-cloud-cloudquotas

Open hqin2016 opened this issue 1 year ago • 1 comments

Determine this is the right repository

  • [X] I determined this is the correct repository in which to report this bug.

Summary of the issue

Context I was trying to install quotas api following https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-cloudquotas:

python3 -m venv cloudquotas source cloudquotas/bin/activate pip install google-cloud-cloudquotas

Expected Behavior:

Actual Behavior: $ pip install google-cloud-cloudquotas ERROR: Could not find a version that satisfies the requirement google-cloud-cloudquotas (from versions: none) ERROR: No matching distribution found for google-cloud-cloudquotas

API client name and version

No response

Reproduction steps: code

file: main.py

   def reproduce():
    # complete code here

Reproduction steps: supporting files

file: mydata.csv

alpha,1,3
beta,2,5

Reproduction steps: actual results

file: output.txtmydata.csv

Calculated: foo

Reproduction steps: expected results

file: output.txtmydata.csv

Calculated: bar

OS & version + platform

Ubuntu 22.04.4 LTS

Python environment

Python 3.10.12

Python dependencies

Package Version


cachetools 5.5.0 certifi 2024.8.30 charset-normalizer 3.3.2 gcloud 0.18.3 google-api-core 2.19.2 google-auth 2.34.0 google-cloud-pubsub 2.23.1 googleapis-common-protos 1.65.0 grpc-google-iam-v1 0.13.1 grpcio 1.66.1 grpcio-status 1.66.1 httplib2 0.22.0 idna 3.10 oauth2client 4.1.3 pip 22.0.2 proto-plus 1.24.0 protobuf 5.28.2 pyasn1 0.6.1 pyasn1_modules 0.4.1 pyparsing 3.1.4 requests 2.32.3 rsa 4.9 setuptools 59.6.0 six 1.16.0 urllib3 2.2.3

hqin2016 avatar Sep 23 '24 23:09 hqin2016

It seems that I need to pip install google-api-python-client then pip install google-cloud-cloudquotas

hqin2016 avatar Sep 24 '24 02:09 hqin2016

@hqin2016 I think what you're looking for is:

pip install google-cloud-quotas

The distribution name isn't necessarily the same as the folder name and can be found in the setup.py file of a package.

ohmayr avatar Oct 04 '24 21:10 ohmayr

I'm going to keep this issue open to track updating the directory name below to match the name of the package published to PyPI https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-cloudquotas

parthea avatar Oct 07 '24 15:10 parthea