Title: Pip having python2 syntax · Issue #220 · qpython-android/qpython · GitHub
Open Graph Title: Pip having python2 syntax · Issue #220 · qpython-android/qpython
X Title: Pip having python2 syntax · Issue #220 · qpython-android/qpython
Description: When I run pip, I always get this error : × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/data/user/0/org.qpython.qpy/files/lib/python3.11/...
Open Graph Description: When I run pip, I always get this error : × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/data/user...
X Description: When I run pip, I always get this error : × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/d...
Opengraph URL: https://github.com/qpython-android/qpython/issues/220
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pip having python2 syntax","articleBody":"When I run pip, I always get this error : \r\n\r\n```\r\n × Getting requirements to build wheel did not run successfully.\r\n │ exit code: 1\r\n ╰─\u003e [22 lines of output]\r\n Traceback (most recent call last):\r\n File \"/data/user/0/org.qpython.qpy/files/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 353, in \u003cmodule\u003e\r\n main()\r\n File \"/data/user/0/org.qpython.qpy/files/lib/python3.11/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 \"/data/user/0/org.qpython.qpy/files/lib/python3.11/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 \"/storage/emulated/0/Android/data/org.qpython.qpy/files/cache/pip-build-env-pwk4foso/overlay/lib/python3.11/site-packages/setuptools/build_meta.py\", line 325, in get_requires_for_build_wheel\r\n return self._get_build_requires(config_settings, requirements=['wheel'])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/storage/emulated/0/Android/data/org.qpython.qpy/files/cache/pip-build-env-pwk4foso/overlay/lib/python3.11/site-packages/setuptools/build_meta.py\", line 295, in _get_build_requires\r\n self.run_setup()\r\n File \"/storage/emulated/0/Android/data/org.qpython.qpy/files/cache/pip-build-env-pwk4foso/overlay/lib/python3.11/site-packages/setuptools/build_meta.py\", line 487, in run_setup\r\n super().run_setup(setup_script=setup_script)\r\n File \"/storage/emulated/0/Android/data/org.qpython.qpy/files/cache/pip-build-env-pwk4foso/overlay/lib/python3.11/site-packages/setuptools/build_meta.py\", line 311, in run_setup\r\n exec(code, locals())\r\n File \"\u003cstring\u003e\", line 33\r\n print 'looking for', f\r\n ^^^^^^^^^^^^^^^^^^^^^^\r\n SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?\r\n [end of output]\r\n```\r\n\r\n\r\nThe provided file, `/storage/emulated/0/Android/data/org.qpython.qpy/files/cache/pip-build-env-pwk4foso/overlay/lib/python3.11/site-packages/setuptools/build_meta.py`, seems to ba a part of pip and contains old python2 syntax. Could you fix this please?","author":{"url":"https://github.com/Kaki-In","@type":"Person","name":"Kaki-In"},"datePublished":"2024-04-23T17:06:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/220/qpython/issues/220"}
| 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:abd8e20f-0490-2ef4-57a8-dbd0e4dfecd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E23A:20C85F:CA640B:1151115:6969EB3A |
| html-safe-nonce | 257bb5ed39d5be10f7bb6673b0897f53105d47188d752be0475a2b779ac36804 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjNBOjIwQzg1RjpDQTY0MEI6MTE1MTExNTo2OTY5RUIzQSIsInZpc2l0b3JfaWQiOiI2NDk1MTg1MzkxNzQ3NDU5ODk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2a38e6dac330c228bb40f939b373b6bfd1d45167ef00e231086afdf2d3c059f9 |
| hovercard-subject-tag | issue:2259361898 |
| 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/qpython-android/qpython/220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fdb595724ec9a9d53a4b6a50dc13a530fa28d0f0bc9f14a49024443753803bae/qpython-android/qpython/issues/220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fdb595724ec9a9d53a4b6a50dc13a530fa28d0f0bc9f14a49024443753803bae/qpython-android/qpython/issues/220 |
| og:image:alt | When I run pip, I always get this error : × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/data/user... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kaki-In |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/qpython-android/qpython git https://github.com/qpython-android/qpython.git |
| octolytics-dimension-user_id | 4011161 |
| octolytics-dimension-user_login | qpython-android |
| octolytics-dimension-repository_id | 18671453 |
| octolytics-dimension-repository_nwo | qpython-android/qpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18671453 |
| octolytics-dimension-repository_network_root_nwo | qpython-android/qpython |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width