-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
- {{ llspy }} version: 0.4.9
- Python version: 3.6, 3.7
- Operating System: Windows 10
Description
I haven't used fiducialreg for years. When I tried it recently and possibly after many updates of the underlying packages, there's now an error message when calling the blur function (see below of the detailed traceback). It seems to come down to metadata not available in importlib, which probably means Python 3.8 or above is needed for one of the packages?
What I Did
I tried to reinstall llspy with python=3.8 specified but found out there is an upper limit of <3.8 so this didn't go through. Could this upper limit be relaxed? Thanks!
Traceback is here:
Traceback (most recent call last):
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\pyopencl\_mymako.py", line 2, in <module>
import mako.template # noqa
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\mako\template.py", line 19, in <module>
from mako import cache
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\mako\cache.py", line 7, in <module>
from mako import util
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\mako\util.py", line 14, in <module>
from .compat import importlib_metadata_get
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\mako\compat.py", line 8, in <module>
from importlib import metadata as importlib_metadata
ImportError: cannot import name 'metadata' from 'importlib' (C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\importlib\__init__.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "RegCalib.py", line 36, in <module>
cloudset=fiducialreg.CloudSet(calib_list, labels=ims.wavelengths, dx=ims.dxy, dz=ims.dz, mincount=50)
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\fiducialreg\fiducialreg.py", line 730, in __init__
**kwargs
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\fiducialreg\fiducialreg.py", line 546, in __init__
self.update_coords()
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\fiducialreg\fiducialreg.py", line 591, in update_coords
if self.filtered is None:
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\fiducialreg\fiducialreg.py", line 321, in __get__
value = self.func(instance)
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\fiducialreg\fiducialreg.py", line 574, in filtered
from gputools import blur
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\gputools\__init__.py", line 18, in <module>
from gputools.core.oclalgos import OCLReductionKernel, OCLElementwiseKernel
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\gputools\core\oclalgos.py", line 5, in <module>
from pyopencl import elementwise, reduction, scan, algorithm
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\pyopencl\scan.py", line 39, in <module>
import pyopencl._mymako as mako
File "C:\Users\ls977\Miniconda3\envs\llsenv_py37\lib\site-packages\pyopencl\_mymako.py", line 5, in <module>
"Some of PyOpenCL's facilities require the Mako templating engine.\n"
ImportError: Some of PyOpenCL's facilities require the Mako templating engine.
You or a piece of software you have used has tried to call such a
part of PyOpenCL, but there was a problem importing Mako.
You may install mako now by typing one of:
- easy_install Mako
- pip install Mako
- aptitude install python-mako
or whatever else is appropriate for your system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels