Mohinta2892 / catena

Neuron Segmentation, Synaptic Partner Detection and Microtubule tracking for vEM with EM-2-EM translation. Codebase built upon Funke lab's algorithms.
7 stars 1 forks source link

Waterz install with Python==3.11.* #13

Closed Mohinta2892 closed 3 months ago

Mohinta2892 commented 4 months ago

You can get the below error if you have a conda env with python 3.11.*.

      gcc -pthread -B /lmb/home/smohinta/anaconda3/envs/funkelsd_slurm/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /lmb/home/smohinta/anaconda3/envs/funkelsd_slurm/include -fPIC -O2 -isystem /lmb/home/smohinta/anaconda3/envs/funkelsd_slurm/include -fPIC -I/
lmb/home/smohinta/cephfs-mount/catena/local_shape_descriptors/docker/src/waterz/waterz -I/lmb/home/smohinta/cephfs-mount/catena/local_shape_descriptors/docker/src/waterz/waterz/backend -I/lmb/home/smohinta/anaconda3/envs/funkelsd_slurm/include/python3.11 -I/tmp/pip-build-env
-xrdsunsk/overlay/lib/python3.11/site-packages/numpy/_core/include -c waterz/evaluate.cpp -o /tmp/tmpbw6bp1f6.build-temp/waterz/evaluate.o -std=c++11 -w                                                                                                                           
      waterz/evaluate.cpp:228:12: fatal error: longintrepr.h: No such file or directory                                                                                                                                                                                            
        228 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.

This is a known issue, with workarounds in Stack Overflow.

We recommend using python 3.10.*. Our code has been tested with this.