googleapis / google-cloud-python

Google Cloud Client Library for Python
https://googleapis.github.io/google-cloud-python/
Apache License 2.0
4.84k stars 1.53k forks source link

Cannot pip install google-cloud-cloudquotas #13104

Closed hqin2016 closed 3 weeks ago

hqin2016 commented 1 month ago

Determine this is the right repository

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 commented 1 month ago

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

ohmayr commented 1 month ago

@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.

parthea commented 1 month ago

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