kevinjohncutler / omnipose

Omnipose: a high-precision solution for morphology-independent cell segmentation
https://omnipose.readthedocs.io
Other
93 stars 29 forks source link

Installation Omnipose GUI conflict with numpy #103

Closed BornKrefeld closed 1 month ago

BornKrefeld commented 1 month ago

I'll install omnipose GUI. After solving the issues with PyTorch I got follwing error message related to numpy:

I use conda environment within pycharm and have a numpy version 2.0.0.rc

File "d:\04_pycharm projekte\general_projects\python_bio_gui\omnipose\cellpose_omni\dynamics.py", line 17, in from omnipose.core import step_factor File "d:\04_pycharm projekte\general_projects\python_bio_gui\omnipose\omnipose\core.py", line 7, in import networkit as nk # for connected components File "D:\04_Conda\envs\Py_GUI_Bio\lib\site-packages\networkit__init__.py", line 57, in from . import graph File "networkit\graph.pyx", line 1, in init networkit.graph ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

BornKrefeld commented 1 month ago

Issue is solved. A wrong installation of numpy in conda caused this error

BornKrefeld commented 1 month ago

Issue is solved. A wrong installation of numpy in conda caused this error

lvsltz commented 1 month ago

Can you please add some details on how you solved this issue? I'm seeing the same error.

BornKrefeld commented 1 month ago

First I deinstalled numpy in package manager. Then I installed numpy new with cmd conda install numpy