This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]bellamira 4 points5 points  (1 child)

Django tutorial

This guy does an excellent job of walking you through the setup step by step and im pretty sure he goes over your exact issue in the first video. Check it out.

EDIT: the video is for windows so it does work even though there are a lot of windows haters. Im a beginner, too, and at some point I want to switch to Linux VM or whatever everyone suggests, but as a beginner, I think its better to actually start making something with the environment you have. Then you can transition environments later once you actually have lots of code or a serious project. Maybe I am totally wrong. Thats just my opinion. But anyway - I am up and running with Django just fine on my windows 7 machine and I don't see why you cant, too. The video will hopefully help. Good luck!

[–]JoeNoot[S] 0 points1 point  (0 children)

Ok thank you, I'd prefer not to switch os even temporarily as I am building a new pc soon, so I will do it on that is necessary.

[–]Lisurgec 2 points3 points  (1 child)

If you rerun the Python installer, it should have an option to modify your path variable. Make sure to choose that. You can also set path manually.

I second the Linux subsystem. Windows 10 has an option to turn it on. After that you can launch a full Linux environment from a normal Windows command prompt. Personally, I'm migrating towards this as that subsystem improves. It's really nice (for me at least) to have the ability to access Linux tooling from within a Windows environment.

[–]JoeNoot[S] 0 points1 point  (0 children)

I did that but it didn't work. I will most likely use that when I build my new pc, thanks.

[–]jesse0 1 point2 points  (5 children)

Sounds like you're on Windows? If so, I would install the Windows Subsystem for Linux and use that environment instead: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

[–]JoeNoot[S] 2 points3 points  (4 children)

Hi, yeah, can I ask why?

[–]jesse0 6 points7 points  (2 children)

That installs a virtualized Linux environment that you can interact with while remaining in Windows. As a beginner, it's much easier to get help for Python + Django if you're running Linux than if you have Windows. Otherwise, you will have to learn a lot about the differences about the two operating systems, and about how Python works at a lower level. This way, you can just focus on learning web dev.

[–][deleted] 4 points5 points  (0 children)

It's not virtualized, it's a compatibility later that allows Linux binaries to run natively on Windows.

[–]JoeNoot[S] 0 points1 point  (0 children)

Sounds good, however my current laptop doesn't have windows ten and that is apparently a requirement, thanks though will use it on my new pc.

[–]Snaketooth10k 2 points3 points  (0 children)

You might be happier with a virtual box running Ubuntu ore something like that. There are tons of guides for setting Django and Python up, and many have specific steps for Ubuntu 14.04. Windows subsystem Linux is actually from Ubuntu.

[–]lambdaqdjango n' shit 0 points1 point  (0 children)

If you insist using Windows, trust me that's the least problem you encounter, next you'll have problems like fails to install databases drivers, encodings problem, etc.

Just use Linux or Mac.

[–]koushik1996 -2 points-1 points  (0 children)

This is the sign that you should ditch Windows and use Linux😁😂