title: ImportError: No module named sysconfig
body: <p>I get this error many times whenever I try to run a python module.. for example i tried running pyspark from spark bin folder and getting the error shown below.. </p>
  
  <pre><code>soundarya@soundarya:~/spark/spark-1.5.1-bin-hadoop2.6/bin$ ./pyspark 
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 563, in &lt;module&gt;
      main()
    File "/usr/lib/python2.7/site.py", line 545, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 236, in getuserbase
      from sysconfig import get_config_var
  ImportError: No module named sysconfig
  
  soundarya@soundarya:~$ whereis python2.7
  python2: /usr/bin/python2.6 /usr/bin/python2.7 /usr/bin/python2.6-config /usr/bin/python2 /usr/bin/python2.7-config /usr/lib/python2.6 /usr/lib/python2.7 /etc/python2.6 /etc/python2.7 /usr/local/lib/python2.6 /usr/local/lib/python2.7 /usr/include/python2.6 /usr/include/python2.7 /opt/splunk.old/bin/python2.7 /opt/splunk.old/bin/python2 /opt/splunk/bin/python2.7 /opt/splunk/bin/python2 /usr/share/man/man1/python2.1.gz
  </code></pre>
  
  <p>can anyone help to fix this issue? thank you so much in advance. </p>