Closed infosecconsultant closed 2 months ago
I assume you did then pip install cython
, correct?
I'll investigate, they have been changing this recently maybe some version problem
I can not reproduce, can you give me more information about the enviroment?
I ran into the same error when trying to upgrade to version 2.5 (to access the fix for the dark circle artefact in offset detector geometries issue - )
To fix the pip install issue, I commented out the lines relating to --no_pinned_memory
in setup.py
. After this, I could then run pip install . --no-build-isolation
flag, and successfully install.
For some reason though, I seem to have installed TIGRE v2.4 rather than 2.5, when running from download of the latest release? So I still have my dark circle problem
@pathoc That is strange, I see no reason for --no-build-isolation
to change anything relevant. How did you decide to use that flag?
Also, can you clarify what you mean "when running from dowload of the latest release"? You mean from here? https://github.com/CERN/TIGRE/releases/ . It may be a tagging bug, how are you reading which version of TIGRE you have?
I used the --no-build-isolation
flag to help move past the Module not found error as suggested by infosecconsultant (from https://github.com/pypa/pip/issues/11281). There is no problem with TIGRE I think, is it Cython v3+ incompatibility with Python setuptools? I don't know but the --no-build-isolation
did fix it (and I don't need the no pinned memory feature)
To clarify, I downloaded the latest release from (https://github.com/CERN/TIGRE/releases/) and then ran pip install .
on my local PC where I saved the download. Then, I got an output:
Uninstalling pytigre-2.2.0: Successfully uninstalled pytigre-2.2.0 Successfully installed pytigre-2.4.0
Is this just a incorrect label? Thanks!
@pathoc It may be a bug in the tag, most likely. What is your actual problem? do you have an issue open?
I am closing this as I can't reproduce, but do let me know if you still have issues so we can reopen
Expected Behavior
When running
pip install .
I expect it to install.Actual Behavior
Errors due to Cython module being not found. Have tried with cython 3.0.0 and cython 3.0.5 Also tried modifying setup.py to include
import Cython
as well.Code to reproduce the problem (If applicable)
Specifications
Other
This fix
--no-build-isolation
appears to at least get past the Cython module error as it apparently relates to the .toml file: https://github.com/pypa/pip/issues/11281I then get a different error: