Virtual Environment error

98 vistas
Ir al primer mensaje no leído

yasar arafath Kajamydeen

no leída,
24 sept 2019, 11:13:26 p.m.24/9/19
para Django users
Dear All,

Actually i forget my virtual environment name. So when i run  --  python manage.py  runserver   command     its showing   error like this  .


ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?




Thanks in Advance.


Regards,
Yasar Arafath K

Deep Sukhwani

no leída,
25 sept 2019, 2:31:20 a.m.25/9/19
para django...@googlegroups.com
Depending on how you installed virtualenv package and what you are using to create and activate virtualenv you can determine the currently present virtualenvs on your computer.

  • If you used virtualenvwrapper - use lsvirtualenv
  • Additionally, you can look in your Home Directory and search for a directory named .virtualenvs (Note there's a dot before virtualenvs) to see the list of all present virtualenvs
  • Finally, you can always just go ahead and create a new one - shouldn't take too much time
--
Regards
Deep L Sukhwani


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/198d3480-4f3b-4cf3-971d-ce6c7ec19080%40googlegroups.com.

fclinux nova

no leída,
25 sept 2019, 6:50:30 a.m.25/9/19
para django...@googlegroups.com
The simple way is creating new virtualenv and reinstall the package and recorgine them in requirements.txt for next installation. This is very basic and checking google is better than mail in this group. Thanks

Tosin Ayoola

no leída,
25 sept 2019, 7:17:59 a.m.25/9/19
para django...@googlegroups.com
CD  into the directory in which u created ur virtualenv the  type source ➕ tab key twice it should give you the list of all the virtual environment u have created in that directory 

--
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.

laya Mahmoudi

no leída,
25 sept 2019, 7:28:46 a.m.25/9/19
para django...@googlegroups.com
You os is linux pr windows?

در تاریخ چهارشنبه ۲۵ سپتامبر ۲۰۱۹،‏ ۶:۴۴ yasar arafath Kajamydeen <yasa...@gmail.com> نوشت:
--
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...@googlegroups.com.
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos