News for hackers. Stuff that matters.
Re:Python 3 Is Winning Library Developer Support by HankB99 on Tuesday March 08, 2016 @11:09PM (#11250866)
Maybe I'm dreaming this... Trying to install some Python package on Windows 8.1 and 'the usual' stuff didn't work.

I'm a python newb and maybe I wasn't doing something right. I'm more used to Linux/Perl and doing "Perl -M CPAN ..." which just works. 'pip ...' just didn't.

I was not left with the feeling that Python ran as well on Windows as on Linux.

Re:Python 3 Is Winning Library Developer Support by dagw on Wednesday March 09, 2016 @11:12AM (#11253753)
pip is unfortunately a a bit hit and miss on Windows. The (IMO) 'correct' way to install package on windows is to first install Anaconda Python (https://www.continuum.io/downloads) and then:

0) Check if the package came preinstalled with Anaconda

1) if not try to use conda to install packages,

2) if conda doesn't have the package, see if it's been uploaded here: http://www.lfd.uci.edu/~gohlke/pythonlibs/

3) try pip.

Re:Python 3 Is Winning Library Developer Support by rspeer on Wednesday March 09, 2016 @12:33AM (#11251129)
It definitely doesn't. People writing Python packages make reasonable assumptions like that you've got a POSIX command line, a UTF-8-compatible terminal, and a C compiler that's compatible with the Python development headers. On Windows, you probably don't.

It'd be nice if Windows made an effort to provide a sane environment for Python, because the Python devs certainly aren't doing anything to make things sane on Windows.

Re:Python 3 Is Winning Library Developer Support by Mikhail_Edoshin on Wednesday March 09, 2016 @01:59AM (#11251366)
Don't you want to try Cygwin? You'll get as close to Unix on Windows as possible. pip will definitely work.
Re:Python 3 Is Winning Library Developer Support by seanp2k2 on Wednesday March 09, 2016 @05:26PM (#11256146)
Ubuntu server VM in vbox with shared folders works better than anything I've tried to get things working well I native Windows. Sure it's not impossible, but the tax isn't worth it IMO.
Re:Python 3 Is Winning Library Developer Support by ddorian43 on Wednesday March 09, 2016 @04:56AM (#11251982)
Many things are still broken in cygwin still. Examples: uwsgi, gevent
Re:Python 3 Is Winning Library Developer Support by stuaxo on Wednesday March 09, 2016 @04:55AM (#11251974)
You need to manually add the directory containing pip and other tools to the path.

If it is not, you can often do python -mpip install xxxxx

And you're right there are some gotchas - for instance pip install -U pip won't work to update pip itself as on Windows a program can't seem to overwrite it's own executable.

Re:Python 3 Is Winning Library Developer Support by tclancy on Wednesday March 09, 2016 @06:16AM (#11252247)
AFAIK (and I have dozens of virtualenvs running on a Windows box) you can upgrade pip, it's just one of a handful of packages that throws an error at the end because it was unable to delete the folder it created during the install process. The upgrade works, it just looks like it doesn't. But maybe that's only true inside a virtualenv.
Re:Python 3 Is Winning Library Developer Support by bsder on Wednesday March 09, 2016 @02:46AM (#11251507)
I'm under the (quite possibly mistaken memory) impression that the Enthought guys (ScipPy and NumPy) hid installation stuff behind a GUI for Windows people.

I could be wrong as it's been a long time since I helped anybody with that on Windows.

Re:Python 3 Is Winning Library Developer Support by joshuaduffy on Thursday March 10, 2016 @05:12PM (#11262884)
It is up to whoever creates the package. You can create windows installers with setuptools, see: https://docs.python.org/2/distutils/builtdist.html