35 views
Skip to first unread message

Gregory kalinga

unread,
Dec 1, 2020, 4:56:22 PM12/1/20
to django...@googlegroups.com
Am Kalinga gregory a biginner on django,
I faced a problem in installing django. It tells me  unable to create process using 'C:\Users\KALINGA Gregory\Desktop\prog\project-name\scripts\python.exe -m pop install Django'. I do not know what to do then, am asking for help

Kasper Laudrup

unread,
Dec 1, 2020, 5:05:13 PM12/1/20
to django...@googlegroups.com
Hi Kalinga,

On 01/12/2020 22.49, Gregory kalinga wrote:
> I faced a problem in installing django. It tells me  unable to create
> process using 'C:\Users\KALINGA
> Gregory\Desktop\prog\project-name\scripts\python.exe -m pop install
> Django'. I do not know what to do then, am asking for help
>

You will have a much better chance of getting help in the future if you
try to include some more details in your question.

Remember, no one here has any idea what you are trying to achieve, what
your setup is, what errors you are getting etc.

In this case though, it seems like it's a simple typo. It should be
"pip" not "pop", so:

"python -m pip install Django"

This is referring to the Package Installer for Python btw.:

https://pypi.org/project/pip/

Which you most likely want to learn about sooner or later.

Best of luck learning Python (and Django).

Kind regards,

Kasper Laudrup

Gregory kalinga

unread,
Dec 1, 2020, 5:12:19 PM12/1/20
to Django users


hi kasper.
 thanks for answer, my aim is to install django but when i try  to make it i get this error  'prog>python -m install django
Unable to create process using 'C:\Users\KALINGA Gregory\AppData\Local\Programs\Python\Python39\python.exe -m install django'
here now i don't know what to do after

Ammar M. Adam

unread,
Dec 1, 2020, 5:20:58 PM12/1/20
to django...@googlegroups.com

Try to use sudo if you are in Linux
Or just enter your virtual environment and try again

On 1 Dec 2020 23:56, "Gregory kalinga" <kalingag...@gmail.com> wrote:
Am Kalinga gregory a biginner on django,
I faced a problem in installing django. It tells me  unable to create process using 'C:\Users\KALINGA Gregory\Desktop\prog\project-name\scripts\python.exe -m pop install Django'. I do not know what to do then, am asking for help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAeTWb96SaLyMhPg96CdR3zPv2R-M6NFvoBy1S3HnUXUjMaY_w%40mail.gmail.com.

Walid Kambagha

unread,
Dec 1, 2020, 5:21:42 PM12/1/20
to django...@googlegroups.com
Hi Gregory,

Try to follow this video, it might help you

Also, visit the documentation for more updated information via

Regards.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7b44d24e-fa52-47f4-aabf-8839cac1a6b2n%40googlegroups.com.

Ammar M. Adam

unread,
Dec 1, 2020, 5:24:51 PM12/1/20
to django...@googlegroups.com

In windows try running your command prompt in administrator mode .

On 1 Dec 2020 23:56, "Gregory kalinga" <kalingag...@gmail.com> wrote:
Am Kalinga gregory a biginner on django,
I faced a problem in installing django. It tells me  unable to create process using 'C:\Users\KALINGA Gregory\Desktop\prog\project-name\scripts\python.exe -m pop install Django'. I do not know what to do then, am asking for help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAeTWb96SaLyMhPg96CdR3zPv2R-M6NFvoBy1S3HnUXUjMaY_w%40mail.gmail.com.

Ammar M. Adam

unread,
Dec 1, 2020, 5:27:57 PM12/1/20
to django...@googlegroups.com

You should type :
Python -m pip install django
This is the command to install django I hope you get it

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

Kasper Laudrup

unread,
Dec 1, 2020, 5:43:48 PM12/1/20
to django...@googlegroups.com
Hi Kalinga,

On 01/12/2020 23.12, Gregory kalinga wrote:
> hi kasper.
>  thanks for answer, my aim is to install django but when i try  to make
> it i get this error  'prog>python -m install django
> Unable to create process using 'C:\Users\KALINGA
> Gregory\AppData\Local\Programs\Python\Python39\python.exe -m install django'
> here now i don't know what to do after

Sorry, but I didn't write the exact command you have to use.

I can see you are using Windows. That's not a platform I'm used to and
it would be relevant if you write something like that when asking people
for help. That was what I was hinting at in my previous answer to you.

I know you are trying to install Django, but I would very much recommend
that you try to learn some basics on how to use Python first.

Again, I have no idea what background you have, what your experience is
or what you are trying to achieve, but it seems like you are very much a
beginner in programming in the first place.

There's absolutely nothing wrong with that of course and I could be
wrong, but in case I'm not, I'd suggest you start by learning some
basics of Python before moving any further. I'm sure someone can guide
you to some useful tutorials/books/videos.

To answer your actual question. You are trying to invoke the python
interpreter with a module on the command line (with the "-m" option) and
passing arguments to that module ("install Django").

You are missing the name of the module you want to use ("pip") so try to
include that.

If that doesn't make any sense to you, I only recommend that you try to
learn some basics first. Otherwise things will only get more and more
confusing from now on.

I mean that in the most kind and helpful way.

Kind regards,

Kasper Laudrup

Gregory kalinga

unread,
Dec 1, 2020, 11:00:53 PM12/1/20
to django...@googlegroups.com
Ofcorse I am a biginner on python and I thank thee for your advice I will work on it. 


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4826ebd5-b633-863d-f025-43ca73998643%40stacktrace.dk.

Atuma Samuel

unread,
Dec 2, 2020, 11:32:13 AM12/2/20
to django...@googlegroups.com
Hello Gregory, I use Windows too. 
If you want to install django you can try these steps
 Make a directory where you want to work in. You can use the command below
$ mkdir mydir
Change directory to this new directory
$ cd mydir

- create a virtual environment in this directory using the command.
$ Python -m pip venv env
( env is arbitrary and can be any name of your choice)

Next, activate the virtual environment using the command below
$ env\Scripts\activate
( env should be replaced with your virtual environment's name)

You can now install install django in this virtual environment 
$ Python -m pip install django
This should do
Alternatively, you can install django on your Python without creating a venv using
$ Python -m pip install django

This might not be necessary though, as you'd probably create your protein virtual environments

To check if django is installed, you can run
$ Python -m pip freeze
I hope this helps

To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAeTWb-qWUd_vSJPj7hWKHL0AN8VHBvKx6CM-QHLpMYAq1z%2BPA%40mail.gmail.com.

neha

unread,
Dec 3, 2020, 8:56:58 AM12/3/20
to django...@googlegroups.com

Hi,

I am a beginner in Django,I watched a tutorial on Django from edx course,and followed the same procedures but getting 404 error for the very basic app(hello app). Can someone please help me.

I have attached the screenshots of the error page and my codes.

 

Sent from Mail for Windows 10

 

Screenshot (2)-converted.pdf

Abhishek Choudhury

unread,
Dec 3, 2020, 9:07:27 AM12/3/20
to django...@googlegroups.com
Hello Neha, 

As per your screenshot I can tell, You have not added your app path to the Urls.py file. Add the path, it will work just fine.

With Best Regards,
Abhishek Choudhury





--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1AF7F91D-2668-461E-B020-65FD005CB6FC%40hxcore.ol.

Varun Kumar

unread,
Dec 3, 2020, 9:12:50 AM12/3/20
to django...@googlegroups.com
Hello Neha,
I think it's because whatever changes you've applied in your script throught VSCODE. You haven't saved it yet. So whenever you are trying to rerun it. What actually is being done is that your preedited code is begin rerun again n again. Fix: Just save all the scripts and then run it. It will work. 

--

neha

unread,
Dec 3, 2020, 10:09:53 AM12/3/20
to django...@googlegroups.com

Okay, I will check it out.

Thanks guys.

 

Sent from Mail for Windows 10

 

Naresh Saini

unread,
Dec 3, 2020, 11:01:33 AM12/3/20
to django...@googlegroups.com
Hi Neha,
     I the screenshot of VS code I see that file not saved.Please save file after that try it again.
Thank you

neha

unread,
Dec 3, 2020, 11:13:44 AM12/3/20
to django...@googlegroups.com

Ya ,that was the mistake I was doing. After saving all the files, I got the output.

Thanks!

 

Sent from Mail for Windows 10

 

Dhruvil Shah

unread,
Dec 3, 2020, 11:19:11 AM12/3/20
to django...@googlegroups.com
I suggest u to watch tutorial on YT if
Code with Harry
Geeky Shows
Code with Mitch


--

Kasper Laudrup

unread,
Dec 3, 2020, 11:34:06 AM12/3/20
to django...@googlegroups.com
Hi Dhruvil,

On 03/12/2020 17.17, Dhruvil Shah wrote:
> I suggest u to watch tutorial on YT if
> Code with Harry
> Geeky Shows
> Code with Mitch
>

Will these tutorials give hints on how to remember to save your code
before attempting to run it or compile it in case of compiled languages?

Both of those are things I sometimes forget as well.

Otherwise I fail to see how this is relevant in this context.

Kind regards,

Kasper Laudrup
Reply all
Reply to author
Forward
0 new messages