You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8 from dicom.datadict import DicomDictionary, NameDict, CleanName
----> 9 from odl.discr.discr_utils import linear_interpolator
10 from odl.contrib.datasets.ct.mayo_dicom_dict import new_dict_items
11
ImportError: No module named 'odl.discr.discr_utils'
Can you please advise which version of odl I should use to get this working and the dependencies (python version)?
Initially I had python v3.8 installed and installed odl using conda but it was failing to work due to issues related to numpy. It seems it is not specified anywhere what should be the python version for odl to work (and also the versions for the dependencies). I noticed in the documentation (https://odlgroup.github.io/odl/getting_started/installing_conda.html) that python v3.5 is mentioned so I created an environment based on this but the conda installation was stuck. I used pip (despite the warning that python v3.5 reached the end of its life in Sept 2020):
Pytest showed that it passed the tests but I get the error when trying to import odl.discr.discr_utils. I noticed that this has been modified over the past couple of years and I tried reverting to older odl versions (0.6, 0.5.3) but the problem remained.
The text was updated successfully, but these errors were encountered:
I would like to use odl to reconstruct the mayo datasets; I am trying to follow the scripts:
https://github.com/odlgroup/odl/blob/25ec783954a85c2294ad5b76414f8c7c3cd2785d/odl/contrib/datasets/ct/examples/mayo_reconstruct.py
https://github.com/odlgroup/odl/blob/25ec783954a85c2294ad5b76414f8c7c3cd2785d/odl/contrib/datasets/ct/mayo.py
However the import statement fails:
----> 9 from odl.discr.discr_utils import linear_interpolator
10 from odl.contrib.datasets.ct.mayo_dicom_dict import new_dict_items
11
ImportError: No module named 'odl.discr.discr_utils'
Can you please advise which version of odl I should use to get this working and the dependencies (python version)?
Initially I had python v3.8 installed and installed odl using conda but it was failing to work due to issues related to numpy. It seems it is not specified anywhere what should be the python version for odl to work (and also the versions for the dependencies). I noticed in the documentation (https://odlgroup.github.io/odl/getting_started/installing_conda.html) that python v3.5 is mentioned so I created an environment based on this but the conda installation was stuck. I used pip (despite the warning that python v3.5 reached the end of its life in Sept 2020):
pip install odl[show,pywavelets,scikit,proximal,testing]
Then I installed astra:
conda install -c astra-toolbox astra-toolbox
and dicom:
pip install dicom
Pytest showed that it passed the tests but I get the error when trying to import odl.discr.discr_utils. I noticed that this has been modified over the past couple of years and I tried reverting to older odl versions (0.6, 0.5.3) but the problem remained.
The text was updated successfully, but these errors were encountered: