title: ModuleNotFoundError: No module named 'tf_slim' despite installing
body: <p>I'd like to run <code>call_variants.py</code> from <code>deepvariant</code>. I was struggling for hours ans hours installing cuda, tensorflow etc... Unfortunately I ran into a problem and I don't know what to do. Let's start from the beginning:</p>
  <pre><code>conda create --name tf tensorflow
  conda activate tf
  python --version
  Python 3.7.9
  python3 -c 'import tensorflow as tf; print(tf.__version__)'
  2.3.0
  </code></pre>
  <p>Now I tried to run the command:</p>
  <pre><code>python ${h_dir}/deepvariant/binaries/DeepVariant/1.0.0/DeepVariant-1.0.0/call_variants.zip \
  --outfile ${test_dir}/test.gz \
  --examples ${ex_dir}/ex_test.gz --checkpoint $model
  </code></pre>
  <p>I got:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/tmp/Bazel.runfiles_i55m5mpq/runfiles/com_google_deepvariant/deepvariant/call_variants.py&quot;, line 57, in &lt;module&gt;
      from deepvariant import modeling
    File &quot;/tmp/Bazel.runfiles_i55m5mpq/runfiles/com_google_deepvariant/deepvariant/modeling.py&quot;, line 51, in &lt;module&gt;
      import tf_slim
  ModuleNotFoundError: No module named 'tf_slim'
  </code></pre>
  <p>So of course I decided to install it:</p>
  <pre><code>pip install tf_slim
  Collecting tf_slim
    Using cached tf_slim-1.1.0-py2.py3-none-any.whl (352 kB)
  Requirement already satisfied: absl-py&gt;=0.2.2 in ./anaconda3/envs/tf/lib/python3.7/site-packages (from tf_slim) (0.11.0)
  Requirement already satisfied: six in ./anaconda3/envs/tf/lib/python3.7/site-packages (from absl-py&gt;=0.2.2-&gt;tf_slim) (1.15.0)
  Installing collected packages: tf-slim
  Successfully installed tf-slim-1.1.0
  </code></pre>
  <p>However:</p>
  <pre><code>python3 -c 'import tf_slim as slim; print(slim.__version__)'
  Traceback (most recent call last):
    File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  AttributeError: module 'tf_slim' has no attribute '__version__'
  </code></pre>
  <p>An of course <code>ModuleNotFoundError: No module named 'tf_slim'</code> after running the command. So maybe install with conda?</p>
  <pre><code>conda install -c conda-forge tf-slim
  </code></pre>
  <p>But it didn't help at all... I have no clue what to do next, looking forward to any ideas!</p>
  <p>Edit:
  When I run something like this:</p>
  <pre><code>try:
      import tf_slim as slim
      print(&quot;module 'tf_slim' is installed&quot;)
  except ModuleNotFoundError:
      print(&quot;module 'tf_slim' is not installed&quot;)
  
  python test.py
  module 'tf_slim' is installed
  </code></pre>
  <p>But after command, still <code>ModuleNotFoundError: No module named 'tf_slim'</code></p>
  <p>¯_(ツ)_/¯</p>