CERN / TIGRE

TIGRE: Tomographic Iterative GPU-based Reconstruction Toolbox
BSD 3-Clause "New" or "Revised" License
529 stars 180 forks source link

Installation fails with default Cython version #472

Closed ACTIVgroup closed 10 months ago

ACTIVgroup commented 11 months ago

Expected Behavior

Installation of TIGRE v2.5

Actual Behavior

Installation fails with:

Compiling tigre/utilities/cuda_interface/_Ax.pyx because it changed.
[1/1] Cythonizing tigre/utilities/cuda_interface/_Ax.pyx
/home/localadmin/PycharmProjects/scripts_ct/venv/lib/python3.10/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/localadmin/PycharmProjects/TIGRE/Python/tigre/utilities/cuda_interface/_Ax.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
building '_Ax' extension
error: unknown file type '.pxd' (from 'tigre/utilities/cuda_interface/_gpuUtils.pxd')

Code to reproduce the problem (If applicable)

python setup.py develop --no_pinned_memory

Specifications

Solution

AnderBiguri commented 11 months ago

Thanks for the report!

I'll need to try to figure out how to update the code/installation for cython 3.0.0 then....

ACTIVgroup commented 11 months ago

thanks :)

AnderBiguri commented 10 months ago

@ACTIVgroup this is foxed now! let me know if you have problems