I created a django project using a cookiecutter as recommended by the two Django 1.8 scoops. It's called icecreamratings_project. I use the git cmd prompt and use
'cd icecreamratings_project'.
When I want to use the python built-in interpreter using python manage.py it gives me the following error. File "C: \ Users \ Armando \ Desktop \ icecreamratings_project \ config \ settings \ common.py", line 13, in import environ ImportError: there is no module named "environ"
I looked through the directory and the following code:
from __future__ import absolute_import, unicode_literals from sys import path import environ ROOT_DIR = environ.Path(__file__) - 3
There is no module named environ, but I assume that the environment refers to a virtual environment. I am not familiar with the cookiecutter documentation or how it creates django templates, but I created a virtual environment called environment.
The message I received after this is that there is no path in the environment. Can anyone help?
git python django shell cookiecutter
Armando xhimanki
source share