-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
- Search the issues already opened: https://github.com/googleapis/python-api-core/issues
- Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python
If you are still having issues, please be sure to include as much information as possible:
Environment details
- OS type and version: Windows 11
- Python version:
python --versionPython 3.11.3 - pip version:
pip --versionpip 22.3.1 google-api-coreversion:pip show google-api-core2.28.0
Steps to reproduce
The google-api-python-client library requires this library to function. There was a new tag a few hours ago that introduced some changes to the way versioning is being done: d36e896. It doesn't look like the packaging library is being installed as I am getting an error when trying to use the google-api-python-client library.
Stack trace
File "---\app\common\translators\googletranslate.py", line 2, in <module>
from googleapiclient.discovery import build
File "---\app\venv\Lib\site-packages\googleapiclient\discovery.py", line 42, in <module>
import google.api_core.client_options
File "---\app\venv\Lib\site-packages\google\api_core\__init__.py", line 20, in <module>
from google.api_core import _python_package_support
File "---\app\venv\Lib\site-packages\google\api_core\_python_package_support.py", line 28, in <module>
from packaging.version import parse as parse_version
ModuleNotFoundError: No module named 'packaging'
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!