• Register
0 votes
33 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 28 views
28 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
0 votes
1 answer 32 views
32 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
0 votes
1 answer 17 views
17 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 5.3k points
1 vote
2 answers 3.6K views
3.6K 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 8 views
8 views
At this point - I'm not sure of what I'm doing...and I was hoping to get some advice before I break something on my system.
asked Dec 14, 2020 TeamScript 10.3k points
0 votes
1 answer 46 views
46 views
Problem: I have installed anaconda on my Mac OS. But when I try to import the panda library, an error is thrown because the panda module was not found. So when I try to install Panda again. This says the panda is already installed on the machine C27:python- ... panda as pd Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'panda'
asked Nov 14, 2020 sasha 5.3k points
0 votes
1 answer 8 views
8 views
I'm installing python on my windows 10 laptop, and when I try to run it I get this. Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' Current thread 0x0000037c (most recent call first):
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 102 views
102 views
How do I solve an ImportError: No module named 'cStringIO' under Python 3.x?
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 278 views
278 views
I'm trying to add 'PyMySQL, but it keeps throwing Traceback (most recent call last): File "/home/john/workspace/Python/sql/sql.py", line 1, in <module> import PyMySQL ImportError: No module named 'PyMySQL' I tried installing it via pip and ... -properties-common add-apt-repository cloud-archive:mitaka apt-get update && apt-get dist-upgrade sudo apt-get install python3-pymysql import pymysql
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 62 views
62 views
5 I try to write a script in .py for oracle connectivity: #!/usr/bin/python import cx_Oracle connstr='username/pwd@database' conn = cx_Oracle.connect(connstr) curs = conn.cursor() curs.execute('select * from table1;') print curs.description for row in curs: ... ): File "test_SQLPython.py", line 3, in ? import cx_Oracle ImportError: No module named cx_Oracle Any help would be appreciated? Thanks.
asked Oct 25, 2020 psandprop 2.4k points