fastapi deploy fails with complaint about cython
sr0m
PROOP

a year ago

the build fails claiming cython is not deployed (it is in my requirements.txt) - but it is complaining that it is a dependency for pyjnius (I do not have that listed in my requirements.txt)

Here is a log snippet:

#10 19.17 Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)

Sep 04 14:39:31

=

#10 20.98 × Getting requirements to build wheel did not run successfully.

...

#10 20.98 You need Cython to compile Pyjnius.

Sep 04 14:39:33

#10 20.98

Sep 04 14:39:33

Sep 04 14:39:33

#10 20.98

Sep 04 14:39:33

#10 20.98 Traceback (most recent call last):

Sep 04 14:39:33

#10 20.98 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>

Sep 04 14:39:33

#10 20.98 main()

Sep 04 14:39:33

#10 20.98 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

Sep 04 14:39:33

#10 20.98 json_out['return_val'] = hook(**hook_input['kwargs'])

1 Replies

liliabekrar
FREE

10 months ago

I have the same problem do you find a solution ?


Loading...