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
When using dwicat, there is an import error for the module imp, I believe this is due to the fact that imp is deprecated and you should change it for the importlib: https://docs.python.org/3.11/library/imp.html
To Reproduce
conda create -n mrtrix-3.0.4 -c mrtrix3 mrtrix3=3.0.4
conda activate mrtrix-3.0.4
dwicat
Traceback (most recent call last):
File "/home/vicente/miniconda3/envs/mrtrix-3.0.4/bin/dwicat", line 161, in <module>
import mrtrix3
File "/home/vicente/miniconda3/envs/mrtrix-3.0.4/bin/mrtrix3.py", line 17, in <module>
import imp, os, sys
ModuleNotFoundError: No module named 'imp'
If the issue is data-dependent, please consider providing a link to
(anonymised) data to assist developers in reproducing the bug.
Platform/Environment/Version
Please provide the following information:
OS: ubuntu: 24.02
MRtrix3 version MRtrix 3.0.4 Dec 14 2022
The text was updated successfully, but these errors were encountered:
Thanks for the bump. This is already rectified on master (#2731, #2735), but is not yet part of a tagged release. If you configure your environment to use Python 3.11 rather than 3.12 you should be able to get by until we do an update.
@MRtrix3/mrtrix3-devs: We should prioritise generating 3.0.5, as otherwise this will keep coming up. I have created a milestone for this patch update. Many PRs to master require independent review; please pick some to look at and approve.
Describe the bug
When using dwicat, there is an import error for the module
imp
, I believe this is due to the fact thatimp
is deprecated and you should change it for theimportlib
: https://docs.python.org/3.11/library/imp.htmlTo Reproduce
If the issue is data-dependent, please consider providing a link to
(anonymised) data to assist developers in reproducing the bug.
Platform/Environment/Version
Please provide the following information:
OS: ubuntu: 24.02
MRtrix3 version MRtrix 3.0.4 Dec 14 2022
The text was updated successfully, but these errors were encountered: