• Register
1 vote
35 views

Problem:

I learnt pyhton programming and I am new to django. I installed django in my system using some command :

pip install virtualenvwrapper-win

 

mkvirtualenv test

 

workon test

 

pip install django

 

It shows me that I have installed django in my system but when I restart my system and wanted to start my django project it shows me django is not installed in my system. Its error message is:

django-admin --version
'django-admin' is not recognized as an internal or external command,
operable program or batch file.

Can anyone help me to solve out this problem?

10 7 2
6,060 points

Please log in or register to answer this question.

1 Answer

1 vote

Answer:

You have installed your django in your system not in your entire system so if you want to use django you should command:

workon whatever you have named your environent

Then you can check your django by:

django-admin --version

You should find that your django is installed in your environment.

Happy coding. 

11 6 4
34,950 points

Related questions

0 votes
1 answer 34 views
34 views
workon test I learnt pyhton programming and I am new to django. I installed django in my system using some command : pip install virtualenvwrapper-win mkvirtualenv test workon test pip install django It shows me that I have installed django in my system but when I restart ... an internal or external command, operable program or batch file. Is there any problem in my system, an anyone help me out?
asked Mar 15, 2020 LizzyM 6.1k points
0 votes
1 answer 41 views
41 views
I am setting up a django project and i am using python for this. I heard that the best way to this is by setting up a virtual environment. I installed my virtual environment by typing the command in my command promp by using: pip install virtualenvwrappwer-win But when I ... environment I can not start my project. I am new In django if anyone know the solution please help me to set up my project.
asked Mar 9, 2020 LizzyM 6.1k points
1 vote
1 answer 5 views
5 views
Problem: tried to import reverse from django.core.urlresolvers. Using Python 3.5.2, Django 2.0 and MySQL. modulenotfounderror: no module named 'django.core.urlresolvers'
asked 6 days ago Sofia Castro 4.2k points
0 votes
1 answer 44 views
44 views
Problem: I am trying to implement Social Login in Django. I have already installed social_auth_app_django with below command pip install social-auth-app-django And I also added this to installed apps in my settings file. INSTALLED_APPS = [ 'django.contrib.admin', ' ... migration python manage.py migrate ModuleNotFoundError : No module named mysite.core Note. I am using Python 3.6.2andDjango 1.11.7
asked Dec 25, 2020 sasha 13.2k points
1 vote
2 answers 4.3K views
4.3K views
Problem : Getting bellow python and django error 'virtualenv' is not recognized as an internal or external command, operable program or batch file.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 4 views
4 views
Problem: configure: error: no acceptable c compiler found in $path.
asked Feb 22 Dan phillip 1.9k points
0 votes
1 answer 21 views
21 views
Problem: I am trying to run python manage.py runserverin a Django app I have and I am getting this error: Traceback (most recent call last): File "manage.py", line 8, in <module> from digango.core.management import execute_from_command_line ImportError: No module named ... .9 djangorestframework==2.3.14 Also, when trying to start /usr/local/bin/python2.7 manage.py runserverit gives the same error.
asked Dec 6, 2020 sasha 13.2k points
0 votes
1 answer 52 views
0 votes
1 answer 164 views
164 views
Problem: I am facing this error in my logs with the django app. Initially I thought such errors tend to occur if using Python 2.x but in my virtual environment you can see Python - 3.6.5. Django - 2.0.7. VESTA Control Panel with the wsgi. My Error ... '] = 'main.settings' -import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() I will be very happy for any help.
asked Aug 24, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 741 views
741 views
Problem : I am new to HTMLParser my terminal showing me below error :- from django.utils.html import format_html, format_html_join, escape File "/usr/local/lib/python3.5/dist-packages/django/utils/html.py", line 16, in from .html_parser import HTMLParser, HTMLParseError ... I replace the HTMLParser with some other similar? Or should I try to downgrade the python ? Can someone help on this issue?
asked Mar 2, 2020 mphil 2.3k points