• Register
0 votes
36 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 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.

Is there any problem in my system, an anyone help me out?

10 7 2
6,060 points

Please log in or register to answer this question.

1 Answer

0 votes

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

workon test
or
workon whatever you have named your environent

Then you can check your django by:

django-admin --version

If you face any other probblem fell free to share it with me.

11 6 4
34,950 points

Related questions

1 vote
1 answer 38 views
38 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 ... not recognized as an internal or external command, operable program or batch file. Can anyone help me to solve out this problem?
asked Apr 4, 2020 LizzyM 6.1k points
1 vote
1 answer 8 views
8 views
Problem : When I run pip install -r requirements.txt , I get this Error : ImportError: No module named pkg_resources Actually I'm deploying a Django app to a dev server and pkg_resources appears to be distributed with setuptools Any ideas as to why pkg_resources is not on the path?
asked Mar 12 Shovo210 14k points
0 votes
1 answer 63 views
63 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 38 views
38 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 Feb 24 Sofia Castro 4.2k points
0 votes
1 answer 83 views
83 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 16.2k points
0 votes
1 answer 40 views
40 views
Problem : Getting bellow python and django error , any help: 'virtualenv' is not recognized as an internal or external command, operable program or batch file.
asked Mar 6 Wafa Abu Yousef 6.1k points
1 vote
2 answers 5.3K views
5.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
1 vote
1 answer 15 views
15 views
Problem : I am quite new in django...I trying to access the admin page.it gives me the following error: AttributeError: 'WSGIRequest' object has no attribute 'user'I already googled about this problem but still I cannot solve it for my case in any way. Can you help ?
asked Mar 6 Shovo210 14k points
0 votes
1 answer 45 views
45 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 16.2k points
0 votes
1 answer 1 view
1 view
Problem: I get this error: No module named Image,how can solve this error?
asked 13 hours ago Humaira ahmed 15.3k points