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
Thanks for this nice piece of software!
I get the following error when importing dicompylercore 0.5.7 with importlib 1.0.4.
Traceback (most recent call last):
[...]
File "....\Python39_64\lib\site-packages\dicompylercore\dvhcalc.py", line 15, in <module>
from dicompylercore.config import skimage_available
File "C:\....\Python39_64\lib\site-packages\dicompylercore\config.py", line 18, in <module>
mpl_available = importlib.util.find_spec("matplotlib") is not None
AttributeError: module 'importlib' has no attribute 'util'
If I change line 16 in dicompylercore/config.py from
import importlib
to
import importlib.util
everything loads nicely.
The text was updated successfully, but these errors were encountered:
I see that you are using Python 3.9 on Windows. I haven't run into this particular issue. From what I found it might be able to be fixed by upgrading your matplotlib version. Do you mind to report back your version and see if it is 3.7.5 or below?
Thanks for this nice piece of software!
I get the following error when importing dicompylercore 0.5.7 with importlib 1.0.4.
If I change line 16 in dicompylercore/config.py from
to
everything loads nicely.
The text was updated successfully, but these errors were encountered: