It seems that maybe --no-site-packages doesn't quite do what it's
supposed to:

<pre>
(virtualenv)b...@violins:~/Env/virtualenv$ python -c "import logging;
print logging.__file__"
/usr/lib/python2.6/logging/__init__.pyc
</pre>

Anybody got a workaround?

Cheers!
~br

On Jan 9, 5:13 pm, BrianTheLion <[email protected]> wrote:
> I followed the instructions on PylonsHQ (http://pylonshq.com/docs/en/
> 1.0/gettingstarted/) to build my virtualenv. I used the "--no-site-
> packages" option. Something strange is going on with logging, though:
>
> <pre>
> (virtualenv)b...@violins:~/Env/virtualenv$ which pip
> /home/br/Env/virtualenv/bin/pip
> (virtualenv)b...@violins:~/Env/virtualenv$ pip install logging
> Downloading/unpacking logging
>   Downloading logging-0.4.9.6.tar.gz (96Kb): 96Kb downloaded
>   Running setup.py egg_info for package logging
> Installing collected packages: logging
>   Running setup.py install for logging
> Successfully installed logging
> Cleaning up...
> </pre>
>
> This version of logging (0.4.9.6) is VERY out of date. It's from 2005!
> Why did pip install it and why won't it let me upgrade to a more
> recent version? Any thoughts?
>
> Wait! It gets weirder!
>
> <pre>
> (virtualenv)b...@violins:~/Env/virtualenv$ which python
> /home/br/Env/virtualenv/bin/python
> (virtualenv)b...@violins:~/Env/virtualenv$ python -c "import logging;
> print logging.__version__"
> 0.5.0.5
> </pre>
>
> Can anyone confirm?
>
> Cheers!
> ~br

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to