I have recently installed humann2, but I got an error while
trying the demo. The error is as follows:
Computing pathways abundance and coverage ...
Traceback (most recent call last):
File "/macqiime/lib/python2.7/site-packages/humann2-0.1.9-py2.7.egg/humann2/quantify/MinPath12hmp.py", line 26, in <module>
for file in os.listdir(minpath):
OSError: [Errno 2] No such file or directory: '/macqiime/lib/python2.7/site-packages/humann2-0.1.9-py2.7.egg/humann2/quantify/MinPath'
Traceback (most recent call last):
File "/macqiime/lib/python2.7/site-packages/humann2-0.1.9-py2.7.egg/humann2/quantify/MinPath12hmp.py", line 26, in <module>
for file in os.listdir(minpath):
OSError: [Errno 2] No such file or directory: '/macqiime/lib/python2.7/site-packages/humann2-0.1.9-py2.7.egg/humann2/quantify/MinPath'
It seems that MinPath didn't work properly in my OS X with HUMAnN2.
I did $ python setup.py minpath --update-glpk to install MinPath, but several warning appeared after the command was executed.
1 warning generated.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -g -O2 -MT libglpk_la-wclique.lo -MD -MP -MF .deps/libglpk_la-wclique.Tpo -c misc/wclique.c -o libglpk_la-wclique.o >/dev/null 2>&1
mv -f .deps/libglpk_la-wclique.Tpo .deps/libglpk_la-wclique.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -g -O2 -MT libglpk_la-wclique1.lo -MD -MP -MF .deps/libglpk_la-wclique1.Tpo -c -o libglpk_la-wclique1.lo `test -f 'misc/wclique1.c' || echo './'`misc/wclique1.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -g -O2 -MT libglpk_la-wclique1.lo -MD -MP -MF .deps/libglpk_la-wclique1.Tpo -c misc/wclique1.c -fno-common -DPIC -o .libs/libglpk_la-wclique1.o
In file included from misc/wclique1.c:24:
./env/env.h:32:9: warning: 'SIZE_T_MAX' macro redefined
#define SIZE_T_MAX (~(size_t)0)
^
/usr/include/i386/limits.h:98:9: note: previous definition is here
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
^
1 warning generated.
Please could you give me advice for this probelm.
I appreciate you in advance,
Noriho