-S doesn't work

Bug #572545 reported by Gary Poster
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Virtualenv
New
Undecided
Unassigned

Bug Description

I expect python -S to give a Python with the stdlib installed. When you use virtualenv (at least with the --no-site-packages option, which is all I use), this is not the case.

In a standard interpreter:

$ python -S
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
import ConfigParser

In virtualenv:

$ ../bin/python -S
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
import ConfigParser
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named ConfigParser

FWIW, this causes pain for a beta release of zc.buildout (1.5.0b1).

Revision history for this message
Alex Clark (aclark) wrote :

Has there any updated to virtualenv based on this bug report?

description: updated
Revision history for this message
Carl Meyer (carljm) wrote :
Revision history for this message
Paul Ivanov (pivanov) wrote :

looks like there was a typo or off-by-one error above: this bug migrated to https://github.com/pypa/virtualenv/issues/97

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.