pydensecrf
pydensecrf copied to clipboard
Installation by pip fails in Python 3.7
Thanks for the wonderful work.
Although this issue is not critical for me, for those whom it may concern I just wanted to share that pip install pydensecrf
fails on Ubuntu 18.04 with Python 3.7 with error: command 'gcc' failed with exit status 1
.
Temporary solution: use Python 3.6. Works like a charm.
I just install with command pip install git+https://github.com/lucasb-eyer/pydensecrf.git
, it works also.
Latest version (4d5343c398d75d7ebae34f51a47769084ba3a613) from master
fails with:
gcc: error: pydensecrf/eigen.cpp: File not directory not found
I tried both GCC 7 and 8
EDIT: Ok, it works but you have to install cython
before (pip install cython
).
I had this problem and created a PR for it https://github.com/lucasb-eyer/pydensecrf/pull/93
Solution is to install cython.
gcc: error: pydensecrf/eigen.cpp: No such file or directory
solved, thanks!
method:
pip install cython
pip install git+https://github.com/lucasb-eyer/pydensecrf.git
my GCC version is 5.4.
It doesn't work for me either guys, with Windows 10.. It produces a big error file
I was getting errors like:
fatal error: Python.h: No such file or directory
Solved it by running:
sudo apt-get install python3-dev
gcc: error: pydensecrf/eigen.cpp: No such file or directory
solved, thanks! method:pip install cython
pip install git+https://github.com/lucasb-eyer/pydensecrf.git
my GCC version is 5.4.
Thanks this work like a charm
Closing thanks to #103 but do reopen if it still does not work.
The issue is still happening to me. Specifically, it's caused by pydensecrf/eigen.cpp:28:10
Installing cython did not work for me. Does it have to be a specific version?
My python is actually the isaac-sim internal python so using I cannot use sudo apt-get install python3-dev
. Any help is appreciated.