I spent hours upon hours trying to install APLpy with pip, trying whichever way to make it work. All because someone couldn’t give a damn about the details so it can be accessed by newcomers. So I am going to do everyone a favor and tell you all how to do this for Windows.
Installing pip itself is easy. Just follow the link, download it, and then double click on the python program. This will install pip by itself. It is the using part that made me want to rip my hair out. And according to a friend, it is kind of Windows fault for sucking so much. Anyways, firstly, turns out, don’t use the python shell. Use the command prompt. Yeah, they don’t tell you that, assuming your average newcomer is a giant computer nerd. Well, not everyone is a computer nerd, they can be a physics nerd like me, OKAY!
Next up, go to the PC icon, right click, properties, advanced system setting button, and go to the advanced tab. There is an option called “change environmental variable”. Click on PATH and edit it so it goes to C:\Python27(mine was python 2.7, yours might be different)\Scripts. NOW you can go to the command prompt and type: pip install name-of-package-from-PyPI-you-want-to-install.
I don’t know why that is and why this ridiculous roundabout way has to exist, but those goddamn writers didn’t even bother to make it easy for new users. They just tell you, “go do this” and expects you to automatically get what to do despite it not being obvious for noobs like me. Someone please hold a writing workshop or something for these people because I have just had it trying to install all these dependencies and making things work.