Open Jaiczay opened 4 years ago
Hi,
Thanks a lot for the issue! Could you run the following to double-check what the error is?
python -c "import tensorflow as tf; print(tf.sysconfig.get_include(), end='')"
I will try to replicate the issue and have it fixed.
Cheers, Angelos
Thx for the reply. This is the output:
/home/jaiczay/.local/lib/python3.7/site-packages/tensorflow/include
Hi again,
I am struggling to reproduce the error, however because several people are having trouble compiling the tf extension. I will try to create precompiled binary distributions for both anaconda and PyPI by the end of the month.
For now, I would suggest
Let me know if you need anything more.
Cheers, Angelos
I had the same problem and it f*ck me up for 2 days but i finally got a successful installation. The cause of this problem may vary and it looks like mine is different from yours, but here are some suggestions:
import tensorflow
nvcc --version
and nvidia-smi
are the samepython setup.py install
. you might also want to add this line set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
to the start of attention-sampling/ats/ops/extract_patches/CMakeLists.txt, i add it at line 6.best of luck !
On Ubuntu 19.04 Python 3.7.3