title: not able to install tensorflow on server
body: <p>I am trying to use tensorflow on my college server, as some of the things that I have written are too heavy for my laptop.
  So I don't have sudo privileges. Below is what I unsuccessfully tried.</p>
  
  <p>I am able to install tensorflow by <code>pip install --user &lt;url&gt;</code>
  . But when I import tensorflow I get the error <code>glibc 2.17 not found</code>. </p>
  
  <p>I found <a href="https://stackoverflow.com/questions/33655731/error-while-importing-tensorflow-in-python2-7-in-ubuntu-12-04-glibc-2-17-not-f">this</a> link which solved the exact same problem but when I run </p>
  
  <p><code>virtualenv --system-site-packages ~/tensorflow</code> </p>
  
  <p>I get this error: </p>
  
  <p><code>ImportError: No module named pkg_resources</code></p>
  
  <p>For resolving this I tried:</p>
  
  <p><code>wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python</code></p>
  
  <p>And then I get following error:</p>
  
  <p><code>[Errno 13] Permission denied: '/opt/anaconda/lib/python2.7/site-packages/test-easy-install-10463.write-test'
  </code></p>
  
  <p>And I don't have sudo access so I can't use sudo with above command. </p>
  
  <p>For installing virtualenv I used:</p>
  
  <p><code>curl -sL https://raw.githubusercontent.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | $SHELL</code></p>
  
  <p>I think that the problem is with virtualenv setup but I tried removing it and installing virtualenv by: </p>
  
  <p><code>pip install --user virtualenv</code></p>
  
  <p>But this fails and I get:</p>
  
  <p><code>InsecurePlatformWarning
    Could not find a version that satisfies the requirement vitualenv (from versions: )
  No matching distribution found for vitualenv
  </code></p>
  
  <p>I have looked at many (<a href="https://stackoverflow.com/questions/29134512/insecureplatformwarning-a-true-sslcontext-object-is-not-available-this-prevent">1</a>,<a href="https://stackoverflow.com/questions/19331782/cant-install-virtualenv-on-ubuntu-12-04">2</a>) SO answers dealing with this problem but none work for me. I get stuck at some other error.</p>
  
  <p>I am now stuck in a loop of errors without sudo privilege. </p>
  
  <p>So, my question is that do I necessarily have to install virtualenv or can my problem of installing a working tensorflow be solved much simply. </p>
  
  <p>It is a linux server and default python version is 2.6. So, I had to install 2.7 separately for my use.</p>