About 5,940,000 results
Open links in new tab
  1. python - Making an executable in Cython - Stack Overflow

    Been playing with cython. Normally program in Python, but used C in a previous life. I can't figure out how to make a free-standing executable. I've downloaded cython, and I can make a .pyx …

  2. Cannot import my Cython module in python. Why it does not work?

    Mar 30, 2024 · I created and built a Cython file in a separated package from other python packages, the project has the following directory structure: cython_code cython_file.pyx …

  3. Compile main Python program using Cython - Stack Overflow

    Feb 24, 2011 · Here is an extremely simple example. I am peforming this from a Debian Sid workstation, using python3 and cython3.. Make sure you have python-dev or python3-dev …

  4. Python vs. CPython - Stack Overflow

    Jun 16, 2013 · Cython is a compiled language as it generates C code and gets compiled by C compiler. We can write similar code in Cython as in default python or CPython, the differences …

  5. Wrapping a C library in Python: C, Cython or ctypes?

    Dec 22, 2009 · With Cython, OTOH, you're completely free to make the wrapping and calling code as thin or thick as you want. You can start with simple calls into your C code from regular …

  6. python - AttributeError: cython_sources - Stack Overflow

    Nov 15, 2023 · Cython rather than Cypthon? Cython is not a culprit in itself, it's the reluctancy of PyYAML to support Cython 3, which was announced years in advance, and which is now very …

  7. python - Cython: "fatal error: numpy/arrayobject.h: No such file or ...

    Apr 14, 2015 · I'm trying to speed up the answer here using Cython. I try to compile the code (after doing the cygwinccompiler.py hack explained here), but get a fatal error: …

  8. ModuleNotFoundError when installing Cython module through …

    Nov 8, 2023 · I'm trying to build a python module in the folder mymodule containing some cython code. However, on Windows, installing it via pip, it cannot find Cython even though it is installed.

  9. Numba code much faster than cython alternative - Stack Overflow

    Jun 30, 2022 · When Cython is slower, it's probably due to type conversions, and possibly exacerbated by a lack of type annotations. Also, if you use C data structures in Cython, that'll …

  10. python - ImportError: No module named 'Cython' - Stack Overflow

    May 15, 2017 · I'm trying do from Cython.Build import cythonize and I get the message ImportError: No module named 'Cython', but I installed the Cython with the comand pip install …