4 ms·
Python in 2019 Sounds Like an Unprofessional Garage Team Band
- zelly 7y agoMaybe before trying to write (much less criticize) Python code you should learn how access control works on operating systems. Right click "Run as Administrator"
- xnyan 7y agoThis is fundamentally mistaken advice, not because it’s necessarily it’s wrong to run python modules in the administrator context (although you probably don’t need to) but it is always a bad idea to run command with root/administrator privileges without understanding why you are doing so and why root privs are needed. If you don’t need global system access to these modules, appending —-user to pip will install in the user context, no elevated privs needed.
- rini17 7y agoWhy isn't it the default? According to the superuser link, in the previous version it worked by default without privileged access.
- sonkol 7y agoI obviously run pip as administrator... before replying you should try it yourself.
- deleted 7y ago[deleted]
- astrodust 7y agoWSL could have avoided all of this. Windows has never, ever been a friendly place to install programming languages of any kind. With WSL I've been able to use Windows for actual development. Want Node? Got it. Python? Done. How Windows has never come up with something as slick as apt baffles me. That shouldn't be hard! It used to be a good day to wrangle it into submission, with all sorts of ridiculous things like restarting or logging out/logging in depending on the package in question.
- JPKab 7y agoAnaconda would have avoided this. It's a breeze to install on Windows. The Windows answer to apt is chocolatey, BTW. FYI, Windows 10 is actually pretty easy to deal with. The primary issue I see these days is around certain numerical libraries not building unless user has CPP compiler installed.
- astrodust 7y agoWindows 10 + WSL is a dramatic improvement over the experience on Windows 8 and earlier, but it just goes to show how good things could have been all along if Microsoft had ever committed to making a Windows package manager.
- 4gotunameagain 7y ago>I want to blame the Python foundation for destroying this precious time Oh no, my probably unique setup gives me an error on pip. My precious time is destroyed. What a sh-tpost.
- testrun 7y agoI cannot agree more.
- deleted 7y ago[deleted]
- lainproliant 7y agoThis is a joke post, right?...
- machawinka 7y agoWas this HNed to bully the author?