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
I am trying to use the nis2pyr function to convert my NIS files to ome tiff.
I keep getting the following error code:
C:\Users\thron055\Documents\20240110 DRAGA NK amfar D6PT> nis2pyr DRAGA14_6 DPT_spleen_HIVopal570_CARopal650_CD20AF488_slide20_LKT.nd2 DRAGA14_6 DPT_spleen_HIVopal570_CARopal650_CD20AF488_slide20_LKT.ome.tiff
Traceback (most recent call last):
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\Scripts\nis2pyr.exe_main.py", line 4, in
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\nis2pyr.py", line 8, in
from nis2pyr.convertor import convert_nd2_to_pyramidal_ome_tiff
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\convertor.py", line 3, in
from nis2pyr.writer import write_pyramidal_ome_tiff
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\writer.py", line 4, in
import tifffile # https://github.com/cgohlke/tifffile
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\tifffile_init.py", line 3, in
from .tifffile import doc, all, version, main
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\tifffile\tifffile.py", line 15408, in
bitorder_decode = imagecodecs.bitorder_decode # noqa
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\imagecodecs\imagecodecs.py", line 514, in getattr
module = importlib.import_module('.' + module_, 'imagecodecs')
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "imagecodecs_imcd.pyx", line 1, in init imagecodecs._imcd
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Would greatly appreciate any tips on how to resolve this issue!
The text was updated successfully, but these errors were encountered:
I am trying to use the nis2pyr function to convert my NIS files to ome tiff.
I keep getting the following error code:
C:\Users\thron055\Documents\20240110 DRAGA NK amfar D6PT> nis2pyr DRAGA14_6 DPT_spleen_HIVopal570_CARopal650_CD20AF488_slide20_LKT.nd2 DRAGA14_6 DPT_spleen_HIVopal570_CARopal650_CD20AF488_slide20_LKT.ome.tiff
Traceback (most recent call last):
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\Scripts\nis2pyr.exe_main.py", line 4, in
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\nis2pyr.py", line 8, in
from nis2pyr.convertor import convert_nd2_to_pyramidal_ome_tiff
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\convertor.py", line 3, in
from nis2pyr.writer import write_pyramidal_ome_tiff
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\nis2pyr\writer.py", line 4, in
import tifffile # https://github.com/cgohlke/tifffile
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\tifffile_init.py", line 3, in
from .tifffile import doc, all, version, main
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\tifffile\tifffile.py", line 15408, in
bitorder_decode = imagecodecs.bitorder_decode # noqa
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\site-packages\imagecodecs\imagecodecs.py", line 514, in getattr
module = importlib.import_module('.' + module_, 'imagecodecs')
File "C:\Users\thron055\AppData\Local\Programs\Python\Python39\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "imagecodecs_imcd.pyx", line 1, in init imagecodecs._imcd
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Would greatly appreciate any tips on how to resolve this issue!
The text was updated successfully, but these errors were encountered: