Hacker News new | ask | show | jobs
by wagonhelm 3565 days ago
Wont GCC fail, includes a patch for GCC, I tested on my system before posting. Running great!
2 comments

One of your section is named "Install Nvidia Toolkit 7.5", this is probably what confused parent @hughperkins.
Just found that one and fixed it, also someone confirmed working with a GTX 1080. I am so happy to finally ditch 14.04
Ah, I see what I was missing before: there's a patch 1 of cuda 8.0, which adds gcc 5.4 support, and is installed in the cuda section using:

    sudo sh cuda_8.0.27.1_linux.run --silent --accept-eula
Still doesnt work for me though: even on a new box, I get:

    ubuntu@somewhere:~/tensorflow$ python3 -c 'import tensorflow'             
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/ubuntu/tensorflow/tensorflow/__init__.py", line 23, in <module>
        from tensorflow.python import *
      File "/home/ubuntu/tensorflow/tensorflow/python/__init__.py", line 49, in <mod
    ule>
        from tensorflow.python import pywrap_tensorflow
    ImportError: cannot import name 'pywrap_tensorflow'
Ok. Fixed this by two things:

- using branch r0.10, as suggested by https://news.ycombinator.com/item?id=12464835 - making sure to install the new r0.10 wheel, which has a different name than the r0 wheel built by master :-D

Thanks for sharing your solution!