ImportError: No module named sysconfig, when running Python from Anaconda
<p>I'm trying to run the python2.7.11 version installed in the root environment in Anaconda 2.4.1. <br>
I should note that I do not have admin on the server (uni server) which might screwed up the installation. <br>
As I run <em><code>python test_script.py</code></em> (no matter which script), I get:</p>

<pre><code>Traceback (most recent call last):
  File "Anaconda/lib/python2.7/site.py", line 548, in &lt;module&gt;
    main()
  File "Anaconda/lib/python2.7/site.py", line 530, in main
    known_paths = addusersitepackages(known_paths)
  File "Anaconda/lib/python2.7/site.py", line 266, in addusersitepackages
    user_site = getusersitepackages()
  File "Anaconda/lib/python2.7/site.py", line 241, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "Anaconda/lib/python2.7/site.py", line 230, in getuserbase
    from sysconfig import get_config_var
ImportError: No module named sysconfig
</code></pre>

<p>I should note that when I run the line <code>which python</code> I get the correct Anaconda python path, and when I run the line <code>python --version</code> I get <code>Python 2.7.11 :: Anaconda 2.4.1 (64-bit)</code></p>