llSourcell/AI_Composer

No module named tensorflow

Closed this issue · 0 comments

Hello,

I've been having so much trouble running source's project and making them work.
As for the AI_Composer I installed all dependencies and tried everything step by step and once over again.
I (for now) end up with the same error.

Traceback (most recent call last):
  File "main.py", line 4, in <module>
    import rnn
  File "/home/quinten/Documents/AI_Composer/rnn.py", line 11, in <module>
    import tensorflow as tf    
ImportError: No module named tensorflow

I installed the correct Tensorflow. Can I please get help to get this to work. AI_Writer is a death end and I hope it's not for AI_Composer.

Again showing install of TF 0.8 and the response when running main.py

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
The directory '/home/quinten/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/quinten/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tensorflow==0.8.0 from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
  Downloading https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl (22.2MB)
    100% |████████████████████████████████| 22.2MB 90kB/s 
Requirement already up-to-date: protobuf==3.0.0b2 in /usr/local/lib/python2.7/dist-packages (from tensorflow==0.8.0)
Requirement already up-to-date: wheel in /usr/local/lib/python2.7/dist-packages (from tensorflow==0.8.0)
Requirement already up-to-date: numpy>=1.8.2 in /usr/local/lib/python2.7/dist-packages (from tensorflow==0.8.0)
Requirement already up-to-date: six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from tensorflow==0.8.0)
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (from protobuf==3.0.0b2->tensorflow==0.8.0)
Installing collected packages: tensorflow
  Found existing installation: tensorflow 0.8.0
    Uninstalling tensorflow-0.8.0:
      Successfully uninstalled tensorflow-0.8.0
Successfully installed tensorflow-0.8.0
quinten@quinten:~/Documents/AI_Composer$ python main.py
Traceback (most recent call last):
  File "main.py", line 4, in <module>
    import rnn
  File "/home/quinten/Documents/AI_Composer/rnn.py", line 11, in <module>
    import tensorflow as tf    
ImportError: No module named tensorflow

Also when I do

python -c 'import tensorflow as tf; print(tf.__version__)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named tensorflow