Re: Setting up the virtual environment

79 views
Skip to first unread message

Marius Gedminas

unread,
Aug 3, 2012, 2:39:24 AM8/3/12
to pylons-...@googlegroups.com
On Thu, Aug 02, 2012 at 02:58:04PM -0700, swastika singhal wrote:
> MTVL10f0614cb:virtualenv-1.1-py2.7.egg swastikas654$ sudo python virtualenv.py --no-site-packages env
> Password:
> New python executable in env/bin/python
> Traceback (most recent call last):
> File "/Library/Python/2.7/site-packages/virtualenv-1.1-py2.7.egg/env/bin/../lib/python2.7/site.py", line 66, in <module>
...
> File "/Library/Python/2.7/site-packages/virtualenv-1.1-py2.7.egg/env/bin/../lib/python2.7/posixpath.py", line 17, in <module>
> import warnings
> ImportError: No module named warnings
> ERROR: The executable env/bin/python is not functioning
> ERROR: It thinks sys.prefix is '/Library/Python/2.7/site-packages/virtualenv-1.1-py2.7.egg' (should be '/Library/Python/2.7/site-packages/virtualenv-1.1-py2.7.egg/env')
> ERROR: virtualenv is not compatible with this system or executable

virtualenv 1.1 is really old and doesn't support Python 2.7. Please
upgrade: http://pypi.python.org/pypi/virtualenv.

Marius Gedminas
--
You're . . . you're not arguing? I don't really know how to deal with this. I
mean, I had references ready and everything.
-- dhole
signature.asc

swastika singhal

unread,
Aug 20, 2012, 1:17:01 AM8/20/12
to pylons-...@googlegroups.com
I have this solved now. Thanks!
Reply all
Reply to author
Forward
0 new messages