~/.local not in sys.path?

S

skip

I don't see ~/.local in sys.path. Is this some feature which needs to be
enabled? I was kind of unclear after reading the section on it in the 2.6
What's New document.

Thx,
 
Ð

Дамјан ГеоргиевÑки

I don't see ~/.local in sys.path. Is this some feature which needs to
be enabled? I was kind of unclear after reading the section on it in
the 2.6 What's New document.

Here it is,
/home/damjan/.local/lib/python2.6/site-packages
by default no special settings (on ArchLinux if it matters).


This is unless I set PYTHONUSERBASE=~/my-python
 
S

skip

I don't see ~/.local in sys.path.

$,1(T(P(\(x(P(](B> Here it is,
$,1(T(P(\(x(P(](B> /home/damjan/.local/lib/python2.6/site-packages
$,1(T(P(\(x(P(](B> by default no special settings (on ArchLinux if it matters).

Thanks. I have such a large sys.path (too many eggs) that I didn't see it.
When I got a bit more precise in my search it revealed itself:
>>> [p for p in sys.path if '.local' in p]
['/Users/skip/.local/lib/python2.7/site-packages']
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top