matejak / imreg_dft

Image registration using discrete Fourier transform.
Other
243 stars 68 forks source link

Nothing runs. #50

Open arichmondphoto opened 4 months ago

arichmondphoto commented 4 months ago

I get a long list of errors when I try to run the ird script.

File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 72, in _str2nptype File "/usr/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/nuc/.local/bin/ird", line 33, in sys.exit(load_entry_point('imreg-dft-nw==2.0.0', 'console_scripts', 'ird')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nuc/.local/bin/ird", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/cli.py", line 40, in File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 500, in File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 113, in init File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 113, in File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 322, in init File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 234, in init File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 252, in setOpts File "/home/nuc/.local/lib/python3.11/site-packages/imreg_dft_nw-2.0.0-py3.11.egg/imreg_dft/loader.py", line 74, in _str2nptype AttributeError: 'AttributeError' object has no attribute 'message'