Kainmueller-Lab / PatchPerPix_experiments

experiments script for the PatchPerPix instance segmentation method
8 stars 3 forks source link

ImportError: No module named 'six' #7

Closed sddzlsc closed 2 years ago

sddzlsc commented 3 years ago

(tf_35) [s-lishoucong@admin1 PatchPerPix_experiments]$ python run_ppp.py --setup setup08 --config wormbodies/02_setups/setup08/config.toml --do mknet train validate_checkpoints predict decode label evaluate --app wormbodies --root ~/data/patchPerPix/experiments No module named 'six' Traceback (most recent call last): File "run_ppp.py", line 41, in import h5py File "/mnt/public/home/s-lishoucong/anaconda3/envs/tf_35/lib/python3.5/site-packages/h5py/init.py", line 26, in from . import _errors File "h5py/_errors.pyx", line 13, in init h5py._errors File "/mnt/public/home/s-lishoucong/anaconda3/envs/tf_35/lib/python3.5/site-packages/h5py/_hl/compat.py", line 5, in import six ImportError: No module named 'six'

abred commented 3 years ago

Hi, thanks for posting this issue, it seems to be a problem of the h5py package though, as that is trying to import six. Maybe something went wrong when you tried to install the requirements.txt. Should be easily fixable by installing six manually with pip.