title: Move python folder on linux
body: <p>I have compiled python sources with the <code>--prefix</code> option. After running <code>make install</code> the binaries are copied to a folder of my account's home directory.</p>
  
  <p>I needed to rename this folder but when I use pip after the renaming it says that it can't find the python interpreter. It shows an absolute path to the previous path (before renaming).</p>
  
  <p>Using grep I found out multiple references to absolute paths relative to the <code>--prefix</code> folder.</p>
  
  <p>I tried to override it by setting the <code>PATH</code>,<code>PYTHONPATH</code> and <code>PYTHONHOME</code> environment variables but it's not better.</p>
  
  <p>Is there a way to compile the python sources in a way that I can freely moves it after ?</p>