hello i m the beginner in python and using python community edition
i am to start my first web project,for which i ve installed django framework and my web server go live succefully
but the problem is that no option of create django project appear in Pycharm editor and django manage.py file has this error:
def main():
“”“Run administrative tasks.”“”
os.environ.setdefault(‘DJANGO_SETTINGS_MODULE’, ‘myweb.settings’)
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise 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?”
) from exc
execute_from_command_line(sys.argv)
if name == ‘main’:
main()