Installing on windows

I’m trying to install Django using the CMD

Everythi n l o oks good as pip seemed to work, How do I test if it worked?
I tried jango-admin but

See the second warning in your output. You may want to add that path to your PATH.

Or, what I would actually suggest is that you create a virtual environment in which to do all this work.

See the more detailed instructions at How to install Django on Windows | Django documentation | Django

ok I tried to install python, but I opened the Command Prompt to verify but

What specific steps did you follow to install Python?
(What web page or resource did you use for instructions?)

I clickedthe link you sent, downloaded the exe ran it

But when I try to verify it was installed,

thats where I get the error?

You want to install with the checkbox to “Add Python to PATH” set.

1 Like

when I try to reinstall, it fails annnnd the log says…

[4798:53D4][2023-03-01T13:47:41]i001: Burn v3.14.0.5722, Windows v10.0 (Build 19044: Service Pack 0), path: C:\Users\LURTNO~1\AppData\Local\Temp{D18D2FD7-064F-446A-8AE6-99314DBB93DF}.cr\python-3.11.2-amd64 (2).exe

I can see it using Anaconda, not the CMD

I’m not sure what you mean by “it fails”.

That output you posted is fundamentally correct for what you would expect to see at that point.

If you’re still having problems, I would suggest:

  • Removing all python installations. All Condas. Everything that even might create a potential conflict.

  • Reboot.

  • Verify that all instances of Python, along with all DLLs and affiliated libraries have been removed from the system.

  • Install one instance of the correct runtime as admin, ensuring that the install is set up for all users and that it is added to the path.

  • Reboot again.

  • Try to use it.

  • If successful, create your virtual environment and install Django in it.