Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18558

virtualenv wrecked my Django+modules install

Date 2012-01-06 06:01 +1100
Subject virtualenv wrecked my Django+modules install
From Alec Taylor <alec.taylor6@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4458.1325790109.27778.python-list@python.org> (permalink)

Show all headers | View raw


Good morning,

On my system (Windows 8 Developer Preview x64 with Python 2.7.2 x64) I
painstakingly installed all the dependencies for Django, Satchmo and a
few other large scale projects.

(about 10% couldn't be installed with pip, which is why I use the word
'painstakingly')

Recently though I needed Pinax for something, so following there guide
(http://pinax.readthedocs.org/en/latest/gettingstarted.html) I setup a
virtualenv for it.

Not only could I not get Pinax running, but when I went back to work
on my Satchmo-based project, and ran "manage.py runserver" I got the
following error:
Traceback (most recent call last):
  File "P:\Prototype\Django\store\manage.py", line 18, in <module>
    from django.core.management import execute_manager
ImportError: No module named django.core.management

Typing in `import django` from the interpreter gives me:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named django

Does this mean I need to install everything required by my project all
over again? - If so, should I take a virtualenv approach (and what
would the advantages be of doing so)?

Thanks for all suggestions,

Alec Taylor

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

virtualenv wrecked my Django+modules install Alec Taylor <alec.taylor6@gmail.com> - 2012-01-06 06:01 +1100
  Re: virtualenv wrecked my Django+modules install 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-05 14:16 -0800
  Re: virtualenv wrecked my Django+modules install 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-05 14:16 -0800
  Re: virtualenv wrecked my Django+modules install alex23 <wuwei23@gmail.com> - 2012-01-05 18:48 -0800
    Re: virtualenv wrecked my Django+modules install Alec Taylor <alec.taylor6@gmail.com> - 2012-01-07 14:38 +1100

csiph-web