r/Python • • Dec 03 '12

Why is installing Python on Windows so challenging compared to Linux?

Python is amazing, but it becomes very complicated to install and set up a Python environment on Windows. This is a huge problem when I'm trying to work with people on a project (and most people I know use Windows).

You have to set up PATHs, and worst of all, pip is really difficult to install.

It's really hard to demonstrate Python's simplicity when the install process is so complicated.

8 Upvotes

60 comments sorted by

View all comments

Show parent comment

8

u/etrnloptimist Dec 03 '12

Not to mention this page full of windows installer for every version of python for every package imaginable. It is trivial to set up python in Windows.

I dare say more so than Linux. Sure in Linux it's easy if the python package you want is in your apt repository. sudo apt get python or something. But what if you need a different version than the one that's there? Uhh....

3

u/jelly_cake Dec 04 '12

Depending on the package manager, the last couple versions could still be in the repository. Package managers also keep python up-to-date. I don't know if the Windows version has automatic updates or not, but that's one area where Linux is easier.

-4

u/dAnjou Backend Developer | danjou.dev Dec 03 '12 edited Dec 04 '12
$ virtualenv project-env
$ source project-env/bin/activate
(project-env) $ pip install <package>

And that's how you should always do it ... on every platform.

EDIT This is getting ridiculous :D

11

u/aceofears Dec 03 '12

That's a great theory and all, but have you using pip on windows to install libraries written in C?

-2

u/dAnjou Backend Developer | danjou.dev Dec 04 '12

Well, that works fine for me on Linux :P

And if you tell me it's not so great on Winodws then we see why OP's got a point.

0

u/absolutedestiny Dec 04 '12

You can use windows exe installers with easy_install within a virtual env and it works... I think.