Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think Glyph means do something like this:</p> <ol> <li>Create a directory <code>~/.local</code>, if it doesn't already exist.</li> <li>In your <code>~/.bashrc</code>, ensure that <code>~/.local/bin</code> is on <code>PATH</code> and that <code>~/.local</code> is on <code>PYTHONPATH</code>.</li> <li><p>Create a file <code>~/.pydistutils.cfg</code> which contains </p> <pre><code>[install] prefix=~/.local </code></pre> <p>It's a standard ConfigParser-format file.</p></li> <li><p><a href="http://pypi.python.org/pypi/distribute" rel="noreferrer">Download</a> <code>distribute_setup.py</code> and run <code>python distribute_setup.py</code> (no <code>sudo</code>). If it complains about a non-existing <code>site-packages</code> directory, create it manually:</p> <p>mkdir -p ~/.local/lib/python2.7/site-packages/</p></li> <li><p>Run <code>which easy_install</code> to verify that it's coming from <code>~/.local/bin</code></p></li> <li>Run <code>pip install virtualenv</code></li> <li>Run <code>pip install virtualenvwrapper</code></li> <li>Create a virtual env containing folder, say <code>~/.virtualenvs</code></li> <li><p>In <code>~/.bashrc</code> add</p> <pre><code>export WORKON_HOME source ~/.local/bin/virtualenvwrapper.sh </code></pre></li> </ol> <p>That's it, no use of <code>sudo</code> at all and your Python environment is in <code>~/.local</code>, completely separate from the OS's Python. Disclaimer: Not sure how compatible <code>virtualenvwrapper</code> is in this scenario - I couldn't test it on my system :-)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload