-
Notifications
You must be signed in to change notification settings - Fork 37
Open
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/41a430c019463479c27a44b07b3a0c82f218120ab551e0e8cae8791c69c3/leancloud-3.0.2-py2.py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 906.4 kB/s eta 0:00:00
Collecting iso8601>=0.1.14 (from leancloud)
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6c/0c/f37b6a241f0759b7653ffa7213889d89ad49a2b76eb2ddf3b57b2738c347/iso8601-2.1.0-py3-none-any.whl (7.5 kB)
Requirement already satisfied: six>=1.11.0 in c:\users\zhangsan\appdata\local\programs\python\python312\lib\site-packages (from leancloud) (1.16.0)
Collecting qiniu==7.3.1 (from leancloud)
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/6f/ed/28cc58e2258c51883d0fc9381e655a9dcc6be42778625c62f6b01968e4f8/qiniu-7.3.1.tar.gz (27 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: requests-toolbelt>=1.0.0 in c:\users\zhangsan\appdata\local\programs\python\python312\lib\site-packages (from leancloud) (1.0.0)
Collecting Werkzeug<2.0.0,>=0.16.0 (from leancloud)
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.6/298.6 kB 2.1 MB/s eta 0:00:00
Collecting secure-cookie<1.0.0,>=0.1.0 (from leancloud)
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/88/21/7f2129c270316f78e71789311f91bb047c1a962cfc67314afcaa67fd4fdf/secure_cookie-0.2.0-py3-none-any.whl (11 kB)
Collecting gevent<23.0.0,>=22.10.2 (from leancloud)
Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/9f/4a/e9e57cb9495f0c7943b1d5965c4bdd0d78bc4a433a7c96ee034b16c01520/gevent-22.10.2.tar.gz (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 20.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
Compiling src/gevent/resolver/cares.pyx because it changed.
[1/1] Cythonizing src/gevent/resolver/cares.pyx
performance hint: src\gevent\libev\corecext.pyx:1339:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.
Error compiling Cython file:
------------------------------------------------------------
...
cdef tuple integer_types
if sys.version_info[0] >= 3:
integer_types = int,
else:
integer_types = (int, long)
^
------------------------------------------------------------
src\gevent\libev\corecext.pyx:60:26: undeclared name not builtin: long
Compiling src/gevent/libev/corecext.pyx because it changed.
[1/1] Cythonizing src/gevent/libev/corecext.pyx
Traceback (most recent call last):
File "C:\Users\zhangsan\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
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
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
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
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
self.run_setup()
File "C:\Users\zhangsan\AppData\Local\Temp\pip-build-env-25ry6k4i\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 61, in <module>
File "C:\Users\zhangsan\AppData\Local\Temp\pip-install-a88790io\gevent_ae7bdff0be33460c9eb222f5b4d57e03\_setuputils.py", line 237, in cythonize1
new_ext = cythonize(
^^^^^^^^^^
File "C:\Users\zhangsan\AppData\Local\Temp\pip-build-env-25ry6k4i\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1109, in cythonize
cythonize_one(*args)
File "C:\Users\zhangsan\AppData\Local\Temp\pip-build-env-25ry6k4i\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1256, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Metadata
Metadata
Assignees
Labels
No labels