Title: Trying to install just meets with failure from setup tools · Issue #849 · watson-developer-cloud/python-sdk · GitHub
Open Graph Title: Trying to install just meets with failure from setup tools · Issue #849 · watson-developer-cloud/python-sdk
X Title: Trying to install just meets with failure from setup tools · Issue #849 · watson-developer-cloud/python-sdk
Description: Overview Unable to install. I have removed all python packages from my computer, created a new venv Even if as shown I use an older version of setuptools I till get the same error python -m venv fm_aiortc .\fm_aiortc\Scripts\activate pip...
Open Graph Description: Overview Unable to install. I have removed all python packages from my computer, created a new venv Even if as shown I use an older version of setuptools I till get the same error python -m venv fm...
X Description: Overview Unable to install. I have removed all python packages from my computer, created a new venv Even if as shown I use an older version of setuptools I till get the same error python -m venv fm...
Opengraph URL: https://github.com/watson-developer-cloud/python-sdk/issues/849
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Trying to install just meets with failure from setup tools","articleBody":"**Overview**\r\nUnable to install.\r\nI have removed all python packages from my computer, created a new venv\r\n\r\nEven if as shown I use an older version of setuptools I till get the same error\r\n\r\n```\r\npython -m venv fm_aiortc\r\n.\\fm_aiortc\\Scripts\\activate\r\npip install ibm_watson\r\n```\r\n\r\n```\r\n(fm_aiortc) PS C:\\Work\\GitHubRepo\\WatsonX\\pilots\\FM\\orchestration-layer\\airotc\u003e pip list\r\nPackage Version\r\n---------- -------\r\npip 24.2\r\nsetuptools 71.0.0\r\nwheel 0.43.0\r\n```\r\n\r\n**Expected behavior**\r\nInstall ibm_watson\r\n\r\n\r\n**Actual behavior**\r\n````\r\n(fm_aiortc) PS C:\\Work\\GitHubRepo\\WatsonX\\pilots\\FM\\orchestration-layer\\airotc\u003e pip install ibm_watson\r\nCollecting ibm_watson\r\n Using cached ibm_watson-8.1.0.tar.gz (400 kB)\r\n Installing build dependencies ... done\r\n Getting requirements to build wheel ... done\r\n Preparing metadata (pyproject.toml) ... done\r\nCollecting requests\u003c3.0,\u003e=2.0 (from ibm_watson)\r\n Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)\r\nCollecting python-dateutil\u003e=2.5.3 (from ibm_watson)\r\n Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)\r\nCollecting websocket-client\u003e=1.1.0 (from ibm_watson)\r\n Using cached websocket_client-1.8.0-py3-none-any.whl.metadata (8.0 kB)\r\nCollecting ibm-cloud-sdk-core==3.*,\u003e=3.3.6 (from ibm_watson)\r\n Using cached ibm-cloud-sdk-core-3.20.3.tar.gz (62 kB)\r\n Installing build dependencies ... done\r\n Getting requirements to build wheel ... error\r\n error: subprocess-exited-with-error\r\n\r\n × Getting requirements to build wheel did not run successfully.\r\n │ exit code: 1\r\n ╰─\u003e [21 lines of output]\r\n \u003cstring\u003e:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html\r\n Traceback (most recent call last):\r\n File \"C:\\Work\\GitHubRepo\\WatsonX\\pilots\\FM\\orchestration-layer\\airotc\\fm_aiortc\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 353, in \u003cmodule\u003e\r\n main()\r\n File \"C:\\Work\\GitHubRepo\\WatsonX\\pilots\\FM\\orchestration-layer\\airotc\\fm_aiortc\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 335, in main\r\n json_out['return_val'] = hook(**hook_input['kwargs'])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Work\\GitHubRepo\\WatsonX\\pilots\\FM\\orchestration-layer\\airotc\\fm_aiortc\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 118, in get_requires_for_build_wheel\r\n return hook(config_settings)\r\n ^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\010488846\\AppData\\Local\\Temp\\pip-build-env-pqhwh9x4\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 327, in get_requires_for_build_wheel\r\n return self._get_build_requires(config_settings, requirements=[])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\010488846\\AppData\\Local\\Temp\\pip-build-env-pqhwh9x4\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 297, in _get_build_requires\r\n self.run_setup()\r\n File \"C:\\Users\\010488846\\AppData\\Local\\Temp\\pip-build-env-pqhwh9x4\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 497, in run_setup\r\n super().run_setup(setup_script=setup_script)\r\n File \"C:\\Users\\010488846\\AppData\\Local\\Temp\\pip-build-env-pqhwh9x4\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 313, in run_setup\r\n exec(code, locals())\r\n File \"\u003cstring\u003e\", line 20, in \u003cmodule\u003e\r\n ModuleNotFoundError: No module named 'setuptools.command.test'\r\n [end of output]\r\n\r\n note: This error originates from a subprocess, and is likely not a problem with pip.\r\nerror: subprocess-exited-with-error\r\n\r\n× Getting requirements to build wheel did not run successfully.\r\n│ exit code: 1\r\n╰─\u003e See above for output.\r\n```\r\n**How to reproduce**\r\n_Help us to reproduce what you experienced. Include your code snippets (without credentials)_\r\n\r\n**Screenshots**\r\n_If applicable, add screenshots to help explain your problem._\r\n\r\n**SDK Version**\r\n8.1.0\r\n\r\n**Additional information:**\r\n- OS: Windows\r\n- Which version of `Python` are you using? 3.11.4\r\n\r\n**Additional context**\r\n_Add any other details about the problem._\r\n","author":{"url":"https://github.com/Nniol","@type":"Person","name":"Nniol"},"datePublished":"2024-07-29T08:44:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/849/python-sdk/issues/849"}
| 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:eca9affa-f0be-1362-d9ea-61291fde9b30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E69C:2467D:9E4759:D6739F:6969311D |
| html-safe-nonce | 0c9473ad91fdd9af5d7f1bc432d9caa40634df3432a706492abb53ecbbf27af4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjlDOjI0NjdEOjlFNDc1OTpENjczOUY6Njk2OTMxMUQiLCJ2aXNpdG9yX2lkIjoiMzQ5MDExNDQwODMzMjEyNzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c78404ff09f9e94e9fd4feebf7e03f77908d1a37f3fbf979f3f8ccb3f8db0df6 |
| hovercard-subject-tag | issue:2434820294 |
| 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/watson-developer-cloud/python-sdk/849/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0723cb2645984f79f6b3332850fd38a0fad4fe2221f395fc392267cfba30606e/watson-developer-cloud/python-sdk/issues/849 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0723cb2645984f79f6b3332850fd38a0fad4fe2221f395fc392267cfba30606e/watson-developer-cloud/python-sdk/issues/849 |
| og:image:alt | Overview Unable to install. I have removed all python packages from my computer, created a new venv Even if as shown I use an older version of setuptools I till get the same error python -m venv fm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Nniol |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/watson-developer-cloud/python-sdk git https://github.com/watson-developer-cloud/python-sdk.git |
| octolytics-dimension-user_id | 10017763 |
| octolytics-dimension-user_login | watson-developer-cloud |
| octolytics-dimension-repository_id | 42750248 |
| octolytics-dimension-repository_nwo | watson-developer-cloud/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 42750248 |
| octolytics-dimension-repository_network_root_nwo | watson-developer-cloud/python-sdk |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width