Thursday, April 2, 2015

Re: Problem after Virtualenv Setup

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVHWPZAAoJEC0ft5FqUuEh6kQP/iZvqgRWryRcj3OxUJ+3KZ8K
56+NknbLCuB0KaKuMKm2wApW5tthShvaSoDFju0A8zNpavSaoR/Hw7W6hfLiZpnQ
YXnScSKJfjto2hVpgUID6Bb6VZ+AUJ997DZV6VtdYsxGSXoXZ2lUTHkAQkhPpuzo
4e+SRCrF3YkwscAPCdAqEScC/z/BRaz0PsuuGFmVEIx1B2VIitJvz6EhVOVapy+4
NF5aiFGyEpe6sIVEW/oBDMhha/mMFibaQ4+18BZA3jCFGbqCsuOQP89ZV0nWaMm7
bs4U4zM5q2ArAqCU32DX7+YuV2+IKQ/1m9noxJIIiNNORRxYJMal6b+EHru/elDf
zxHnPRh149WA3cZONq9YhCMoxUisNu4zG7xB5YNNH6DnA5Ot0h1mnq5vwV8XBKR+
cgatoGm7qU6SjvaXK3F8LYOH1CBdA75JIk0LRgQj34+WHxqZZHCP2QCXszl3IPc+
yNV8gPgN5x6jowL77PPJXsW1hj8DUObekNxG7NWiRjM+AgtN+ejUmyt6fqQd48Gd
M63+2DjiLPpeXWMjRZblgUahNqQl8BTv0PxVXuAjt6IUXTEEH6G0v6ZZGFgIam55
WEKxcIv4Y7HIUys8yOKRyNWTCJfXdRKgQT8baAAEcT2Tcsj9Mw1KiVeg2LVpb2GF
fVsJv1kHSwzKuMDt+znS
=M/VK
-----END PGP SIGNATURE-----
Hi Kishan,

On 04/02/2015 09:41 AM, Kishan Mehta wrote:
> I have created my django project and worked on it . Recently I came to
> know about virtualenv and the problem it solves.
> I have installed virtualenv and activated that environment.
> Now django command is not recognized.
> * Will I have to install django again ? Or is there any other efficient
> way.*
> Thanks for help.

You will have to reinstall Django inside the virtual environment.

You should probably also uninstall the global Django you installed
(should just be a matter of "pip uninstall Django" without the
virtualenv activated; may need to preface that with "sudo " depending on
your OS and configuration.)

Carl

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/551D63D9.8070005%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment