{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18496","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18496/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18496/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/18496/events","html_url":"https://github.com/tensorflow/tensorflow/issues/18496","id":314166948,"number":18496,"title":"Issue with Colab Pytnotebook and Tensorflow hub","user":{"login":"loretoparisi","id":163333,"avatar_url":"https://avatars3.githubusercontent.com/u/163333?v=4","gravatar_id":"","url":"https://api.github.com/users/loretoparisi","html_url":"https://github.com/loretoparisi","followers_url":"https://api.github.com/users/loretoparisi/followers","following_url":"https://api.github.com/users/loretoparisi/following{/other_user}","gists_url":"https://api.github.com/users/loretoparisi/gists{/gist_id}","starred_url":"https://api.github.com/users/loretoparisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loretoparisi/subscriptions","organizations_url":"https://api.github.com/users/loretoparisi/orgs","repos_url":"https://api.github.com/users/loretoparisi/repos","events_url":"https://api.github.com/users/loretoparisi/events{/privacy}","received_events_url":"https://api.github.com/users/loretoparisi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-13T16:10:33Z","updated_at":"2018-04-13T16:10:33Z","closed_at":null,"author_association":"NONE","body":"I was trying the Colab example with Tensorflow hub [here](https://www.tensorflow.org/tutorials/text_classification_with_tf_hub)\r\n\r\n```\r\n# Install the latest Tensorflow version.\r\n!pip install --quiet --upgrade --pre tensorflow\r\n# Install TF-Hub.\r\n!pip install tensorflow-hub\r\n!pip install tf-nightly\r\n```\r\n\r\nto have the nightly build, but when I try to install\r\n\r\n```python\r\nimport tensorflow as tf\r\nimport tensorflow_hub as hub\r\nimport matplotlib.pyplot as plt\r\nimport numpy as np\r\nimport os\r\nimport pandas as pd\r\nimport re\r\nimport seaborn as sns\r\n```\r\n\r\nI get this version error\r\n\r\n```\r\nRuntimeErrorTraceback (most recent call last)\r\n<ipython-input-6-48e1bdaa8642> in <module>()\r\n      1 import tensorflow as tf\r\n----> 2 import tensorflow_hub as hub\r\n      3 import matplotlib.pyplot as plt\r\n      4 import numpy as np\r\n      5 import os\r\n\r\n/usr/local/lib/python2.7/dist-packages/tensorflow_hub/__init__.py in <module>()\r\n     63 \r\n     64 # Comment/uncomment to skip checking the TensorFlow version.\r\n---> 65 _check_tensorflow_version(tf.VERSION)\r\n     66 \r\n     67 # Used by doc generation script.\r\n\r\n/usr/local/lib/python2.7/dist-packages/tensorflow_hub/__init__.py in _check_tensorflow_version(version)\r\n     60       \"TensorFlow Hub depends on 'tf-nightly' build after %s or \"\r\n     61       \"'tensorflow~=%s'. Found tf.VERSION = %s\" % (\r\n---> 62           _NIGHTLY_VERSION, _MAIN_VERSION, version))\r\n     63 \r\n     64 # Comment/uncomment to skip checking the TensorFlow version.\r\n\r\nRuntimeError: TensorFlow Hub depends on 'tf-nightly' build after 20180308 or 'tensorflow~=1.7'. Found tf.VERSION = 1.6.0\r\n```\r\n\r\nBut I have already installed\r\n\r\n```\r\nCollecting tf-nightly\r\n  Downloading tf_nightly-1.8.0.dev20180331-cp36-cp36m-manylinux1_x86_64.whl (48.6MB)\r\n    100% |████████████████████████████████| 48.6MB 28kB/s \r\nRequirement already satisfied: astor>=0.6.0 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: absl-py>=0.1.6 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: grpcio>=1.8.6 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: gast>=0.2.0 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: protobuf>=3.4.0 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: numpy>=1.13.3 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nCollecting tb-nightly<1.9.0a0,>=1.8.0a0 (from tf-nightly)\r\n  Downloading tb_nightly-1.8.0a20180409-py3-none-any.whl (3.1MB)\r\n    100% |████████████████████████████████| 3.1MB 382kB/s \r\nRequirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.6/dist-packages (from tf-nightly)\r\nRequirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from protobuf>=3.4.0->tf-nightly)\r\nRequirement already satisfied: html5lib==0.9999999 in /usr/local/lib/python3.6/dist-packages (from tb-nightly<1.9.0a0,>=1.8.0a0->tf-nightly)\r\nRequirement already satisfied: bleach==1.5.0 in /usr/local/lib/python3.6/dist-packages (from tb-nightly<1.9.0a0,>=1.8.0a0->tf-nightly)\r\nRequirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.6/dist-packages (from tb-nightly<1.9.0a0,>=1.8.0a0->tf-nightly)\r\nRequirement already satisfied: werkzeug>=0.11.10 in /usr/local/lib/python3.6/dist-packages (from tb-nightly<1.9.0a0,>=1.8.0a0->tf-nightly)\r\nInstalling collected packages: tb-nightly, tf-nightly\r\nSuccessfully installed tb-nightly-1.8.0a20180409 tf-nightly-1.8.0.dev20180331\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"loretoparisi"}}