title: How do I install tensorflow_text?
body: <p>I'm trying to reproduce the <a href="http://Cross-Lingual%20Similarity%20and%20Semantic%20Search%20Engine%20with%20TF-Hub%20Multilingual%20Universal%20Encoder" rel="noreferrer">notebook on Google Multilingual Universal Encoder</a>. However by downloading the necessary libraries as <code>tensorflow_text</code>:</p>
  
  <pre><code>%%capture
  #@title Setup Environment
  # Install the latest Tensorflow version.
  !pip3 install tensorflow_text
  </code></pre>
  
  <p>or</p>
  
  <pre><code>!python -m pip install tensorflow_text
  </code></pre>
  
  <p>And I get in jupyter:</p>
  
  <pre><code>---------------------------------------------------------------------------
  ModuleNotFoundError                       Traceback (most recent call last)
  &lt;ipython-input-48-399dd4157896&gt; in &lt;module&gt;
        8 import tensorflow.compat.v2 as tf
        9 import tensorflow_hub as hub
  ---&gt; 10 from tensorflow_text import SentencepieceTokenizer
       11 import sklearn.metrics.pairwise
       12 
  
  ModuleNotFoundError: No module named 'tensorflow_text'
  </code></pre>
  
  <p>I tried to install it with <code>python -m pip install tensorflow-text</code>, but it gave me:</p>
  
  <pre><code>(seg_env) C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;python -m pip install tensorflow-text
  Collecting tensorflow-text
    ERROR: Could not find a version that satisfies the requirement tensorflow-text (from versions: none)
  ERROR: No matching distribution found for tensorflow-text
  WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
  You should consider upgrading via the 'python -m pip install --upgrade pip' command.
  </code></pre>
  
  <p>I also tried <code>conda install -c conda-forge tensorflow</code></p>
  
  <pre><code>(seg_env) C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt; conda install -c conda-forge tensorflow
  Collecting package metadata (current_repodata.json): done
  Solving environment: done
  
  # All requested packages already installed.
  
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;set "KERAS_BACKEND="
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;python C:\Users\antoi\.conda\envs\seg_env\etc\keras\load_config.py  1&gt;temp.txt
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;set /p KERAS_BACKEND= 0&lt;temp.txt
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;del temp.txt
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;python -c "import keras"  1&gt;nul 2&gt;&amp;1
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;if errorlevel 1 (
  ver  1&gt;nul
   set "KERAS_BACKEND=theano"
   python -c "import keras"  1&gt;nul 2&gt;&amp;1
  )
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;SET DISTUTILS_USE_SDK=1
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;SET MSSdk=1
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;SET platform=
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;IF /I [AMD64] == [amd64] set "platform=true"
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;IF /I [] == [amd64] set "platform=true"
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;if defined platform (set "VSREGKEY=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0" )  ELSE (set "VSREGKEY=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0" )
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;for /F "skip=2 tokens=2,*" %A in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0" /v InstallDir') do SET "VSINSTALLDIR=%B"
  ERROR: The system was unable to find the specified registry key or value.
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;if "" == "" (set "VSINSTALLDIR=" )
  
  C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation\sentiment&gt;if "" == "" (
  ECHO "WARNING: Did not find VS in registry or in VS140COMNTOOLS env var - your compiler may not work"
   GOTO End
  )
  "WARNING: Did not find VS in registry or in VS140COMNTOOLS env var - your compiler may not work"
  The system cannot find the batch label specified - End
  </code></pre>
  
  <h1>Versions</h1>
  
  <pre><code>(seg_env) C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation&gt;python -m pip list | findstr tensorflow
  tensorflow           2.1.0
  tensorflow-estimator 2.1.0
  </code></pre>
  
  <p>And python:</p>
  
  <pre><code>(seg_env) C:\Users\antoi\Documents\Programming\Covent Garden\Segmentation&gt;python
  Python 3.6.7 (default, Dec  6 2019, 07:03:06) [MSC v.1900 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  </code></pre>
  
  <p>I'm on Windows 10</p>