open-mmlab / denseflow

Extracting optical flow and frames
https://open-mmlab.github.io/
MIT License
304 stars 61 forks source link

./zzboost.sh ERROR #55

Open rui99999 opened 2 years ago

rui99999 commented 2 years ago

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-5.4.0/release/link-static/python-3.7/threading-multi/visibility-hidden/numpy/ndarray.o... gcc.compile.c++ bin.v2/libs/python/build/gcc-5.4.0/release/link-static/python-3.7/threading-multi/visibility-hidden/numpy/numpy.o In file included from ./boost/python/detail/prefix.hpp:13:0, from ./boost/python/args.hpp:8, from ./boost/python.hpp:11, from ./boost/python/numpy/internal.hpp:17, from libs/python/src/numpy/numpy.cpp:8: ./boost/python/detail/wrap_python.hpp:57:23: fatal error: pyconfig.h: 没有那个文件或目录 compilation terminated.

innerlee commented 2 years ago

from libs/python/src/numpy/numpy.cpp:8:

I'm not sure why python is related (it should not). Maybe you can try to debug from this observation.

0829MingHu commented 2 years ago

export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/home/chenj0g/anaconda3/envs/open-mmlab/include/python3.7m"