Title: ModuleNotFoundError: No module named 'packaging' · Issue #848 · googleapis/python-api-core · GitHub
Open Graph Title: ModuleNotFoundError: No module named 'packaging' · Issue #848 · googleapis/python-api-core
X Title: ModuleNotFoundError: No module named 'packaging' · Issue #848 · googleapis/python-api-core
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. Plea...
Open Graph 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. ...
X 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. ...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/848
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ModuleNotFoundError: No module named 'packaging'","articleBody":"Thanks for stopping by to let us know something could be better!\n\n**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.\n\nPlease run down the following list and make sure you've tried the usual \"quick fixes\":\n\n - Search the issues already opened: https://github.com/googleapis/python-api-core/issues\n - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python\n\nIf you are still having issues, please be sure to include as much information as possible:\n\n#### Environment details\n\n - OS type and version: Windows 11\n - Python version: `python --version` Python 3.11.3\n - pip version: `pip --version` pip 22.3.1\n - `google-api-core` version: `pip show google-api-core` 2.28.0\n\n#### Steps to reproduce\n\nThe `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: https://github.com/googleapis/python-api-core/commit/d36e896f98a2371c4d58ce1a7a3bc1a77a081836. 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.\n\n#### Stack trace\n```\n File \"---\\app\\common\\translators\\googletranslate.py\", line 2, in \u003cmodule\u003e\n from googleapiclient.discovery import build\n File \"---\\app\\venv\\Lib\\site-packages\\googleapiclient\\discovery.py\", line 42, in \u003cmodule\u003e\n import google.api_core.client_options\n File \"---\\app\\venv\\Lib\\site-packages\\google\\api_core\\__init__.py\", line 20, in \u003cmodule\u003e\n from google.api_core import _python_package_support\n File \"---\\app\\venv\\Lib\\site-packages\\google\\api_core\\_python_package_support.py\", line 28, in \u003cmodule\u003e\n from packaging.version import parse as parse_version\nModuleNotFoundError: No module named 'packaging'\n```\n\nMaking sure to follow these steps will guarantee the quickest resolution possible.\n\nThanks!\n","author":{"url":"https://github.com/jmctune","@type":"Person","name":"jmctune"},"datePublished":"2025-10-28T00:54:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/848/python-api-core/issues/848"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5b4498b-f05e-89eb-c7e3-171b5b987f0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6BC:2DC8D1:1F05F6F:2ACF3E6:6A4F2DF9 |
| html-safe-nonce | 839646efad9bc11114f4cf3a16a598667cac5bbad2421156d1bdc1362795c918 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkJDOjJEQzhEMToxRjA1RjZGOjJBQ0YzRTY6NkE0RjJERjkiLCJ2aXNpdG9yX2lkIjoiNTAwMzY4OTYxMzc1NzE5NzgxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e20c382312f217c03ed6d1f8fe677f3c68c00f6b50d63df1e25c46f2ba99b153 |
| hovercard-subject-tag | issue:3559254497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-api-core/848/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a86b62838a15d81d5d6b837c0d7a1a4fb4299e91ba3aac1bdf94f87822dce32d/googleapis/python-api-core/issues/848 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a86b62838a15d81d5d6b837c0d7a1a4fb4299e91ba3aac1bdf94f87822dce32d/googleapis/python-api-core/issues/848 |
| og:image:alt | 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. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmctune |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width