Title: PYTHON3.12版本无法安装leancloud SDK · Issue #560 · leancloud/python-sdk · GitHub
Open Graph Title: PYTHON3.12版本无法安装leancloud SDK · Issue #560 · leancloud/python-sdk
X Title: PYTHON3.12版本无法安装leancloud SDK · Issue #560 · leancloud/python-sdk
Description: C:\Users\zhangsan>pip3 install leancloud Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple Collecting leancloud Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3e/42/41a430c019463479c27a44b07b3a0c82f218120ab551e0e...
Open Graph Description: C:\Users\zhangsan>pip3 install leancloud Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple Collecting leancloud Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3e/42/41a430c...
X Description: C:\Users\zhangsan>pip3 install leancloud Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple Collecting leancloud Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3e/42/41a4...
Opengraph URL: https://github.com/leancloud/python-sdk/issues/560
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PYTHON3.12版本无法安装leancloud SDK","articleBody":"```\r\nC:\\Users\\zhangsan\u003epip3 install leancloud\r\nLooking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple\r\nCollecting leancloud\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3e/42/41a430c019463479c27a44b07b3a0c82f218120ab551e0e8cae8791c69c3/leancloud-3.0.2-py2.py3-none-any.whl (52 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 906.4 kB/s eta 0:00:00\r\nCollecting iso8601\u003e=0.1.14 (from leancloud)\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6c/0c/f37b6a241f0759b7653ffa7213889d89ad49a2b76eb2ddf3b57b2738c347/iso8601-2.1.0-py3-none-any.whl (7.5 kB)\r\nRequirement already satisfied: six\u003e=1.11.0 in c:\\users\\zhangsan\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from leancloud) (1.16.0)\r\nCollecting qiniu==7.3.1 (from leancloud)\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6f/ed/28cc58e2258c51883d0fc9381e655a9dcc6be42778625c62f6b01968e4f8/qiniu-7.3.1.tar.gz (27 kB)\r\n Preparing metadata (setup.py) ... done\r\nRequirement already satisfied: requests-toolbelt\u003e=1.0.0 in c:\\users\\zhangsan\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from leancloud) (1.0.0)\r\nCollecting Werkzeug\u003c2.0.0,\u003e=0.16.0 (from leancloud)\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.6/298.6 kB 2.1 MB/s eta 0:00:00\r\nCollecting secure-cookie\u003c1.0.0,\u003e=0.1.0 (from leancloud)\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/88/21/7f2129c270316f78e71789311f91bb047c1a962cfc67314afcaa67fd4fdf/secure_cookie-0.2.0-py3-none-any.whl (11 kB)\r\nCollecting gevent\u003c23.0.0,\u003e=22.10.2 (from leancloud)\r\n Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9f/4a/e9e57cb9495f0c7943b1d5965c4bdd0d78bc4a433a7c96ee034b16c01520/gevent-22.10.2.tar.gz (6.6 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 20.9 MB/s eta 0:00:00\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 [47 lines of output]\r\n Compiling src/gevent/resolver/cares.pyx because it changed.\r\n [1/1] Cythonizing src/gevent/resolver/cares.pyx\r\n performance hint: src\\gevent\\libev\\corecext.pyx:1339:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.\r\n Possible solutions:\r\n 1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.\r\n 2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.\r\n\r\n Error compiling Cython file:\r\n ------------------------------------------------------------\r\n ...\r\n cdef tuple integer_types\r\n\r\n if sys.version_info[0] \u003e= 3:\r\n integer_types = int,\r\n else:\r\n integer_types = (int, long)\r\n ^\r\n ------------------------------------------------------------\r\n\r\n src\\gevent\\libev\\corecext.pyx:60:26: undeclared name not builtin: long\r\n Compiling src/gevent/libev/corecext.pyx because it changed.\r\n [1/1] Cythonizing src/gevent/libev/corecext.pyx\r\n Traceback (most recent call last):\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 353, in \u003cmodule\u003e\r\n main()\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Programs\\Python\\Python312\\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:\\Users\\zhangsan\\AppData\\Local\\Programs\\Python\\Python312\\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\\zhangsan\\AppData\\Local\\Temp\\pip-build-env-25ry6k4i\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 334, in get_requires_for_build_wheel\r\n return self._get_build_requires(config_settings, requirements=[])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Temp\\pip-build-env-25ry6k4i\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 304, in _get_build_requires\r\n self.run_setup()\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Temp\\pip-build-env-25ry6k4i\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 320, in run_setup\r\n exec(code, locals())\r\n File \"\u003cstring\u003e\", line 61, in \u003cmodule\u003e\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Temp\\pip-install-a88790io\\gevent_ae7bdff0be33460c9eb222f5b4d57e03\\_setuputils.py\", line 237, in cythonize1\r\n new_ext = cythonize(\r\n ^^^^^^^^^^\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Temp\\pip-build-env-25ry6k4i\\overlay\\Lib\\site-packages\\Cython\\Build\\Dependencies.py\", line 1109, in cythonize\r\n cythonize_one(*args)\r\n File \"C:\\Users\\zhangsan\\AppData\\Local\\Temp\\pip-build-env-25ry6k4i\\overlay\\Lib\\site-packages\\Cython\\Build\\Dependencies.py\", line 1256, in cythonize_one\r\n raise CompileError(None, pyx_file)\r\n Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx\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\nnote: This error originates from a subprocess, and is likely not a problem with pip.\r\n```","author":{"url":"https://github.com/m4rdukkkkk","@type":"Person","name":"m4rdukkkkk"},"datePublished":"2024-11-16T12:00:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/560/python-sdk/issues/560"}
| 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:ed467e26-939a-7abb-e40f-a6792c8e5d55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAFE:2477FA:36D300:4AA213:69774C01 |
| html-safe-nonce | efb958f373db8b118bd7cd42907b7b65e3d8f0dc6a8dc44956802974bbca414e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUZFOjI0NzdGQTozNkQzMDA6NEFBMjEzOjY5Nzc0QzAxIiwidmlzaXRvcl9pZCI6Ijg4ODQ0MjA0NjUyMzM3MTAwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 914b68ddacaf9c8f3c457b0b8fd39fae158d71f72cac3aa90a42282ab935a8da |
| hovercard-subject-tag | issue:2664254014 |
| 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/leancloud/python-sdk/560/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4d8a7768e7873b387fcbae120e0a1711230b57642f823a48786d2a1580ac8f2/leancloud/python-sdk/issues/560 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4d8a7768e7873b387fcbae120e0a1711230b57642f823a48786d2a1580ac8f2/leancloud/python-sdk/issues/560 |
| og:image:alt | C:\Users\zhangsan>pip3 install leancloud Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple Collecting leancloud Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/3e/42/41a430c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | m4rdukkkkk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/leancloud/python-sdk git https://github.com/leancloud/python-sdk.git |
| octolytics-dimension-user_id | 6660518 |
| octolytics-dimension-user_login | leancloud |
| octolytics-dimension-repository_id | 26794168 |
| octolytics-dimension-repository_nwo | leancloud/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26794168 |
| octolytics-dimension-repository_network_root_nwo | leancloud/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 | d37e99eca9fba24ee37da98481d573461cc1ab7d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width