Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71258 > unrolled thread

NumPy, SciPy, & Python 3X Installation/compatibility issues

Started byesawiek@gmail.com
First post2014-05-10 10:07 -0700
Last post2014-05-12 19:59 +0000
Articles 9 — 7 participants

Back to article view | Back to comp.lang.python


Contents

  NumPy, SciPy, & Python 3X Installation/compatibility issues esawiek@gmail.com - 2014-05-10 10:07 -0700
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Chris Angelico <rosuav@gmail.com> - 2014-05-11 03:22 +1000
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Никола Вукосављевић <hauzer@gmx.com> - 2014-05-10 19:15 +0200
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Stefan Behnel <stefan_ml@behnel.de> - 2014-05-10 20:25 +0200
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues esawiek@gmail.com - 2014-05-10 13:08 -0700
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues esawiek@gmail.com - 2014-05-10 13:14 -0700
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Mark H Harris <harrismh777@gmail.com> - 2014-05-10 15:14 -0500
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Joseph Martinot-Lagarde <joseph.martinot-lagarde@m4x.org> - 2014-05-12 19:01 +0200
    Re: NumPy, SciPy, & Python 3X Installation/compatibility issues Sturla Molden <sturla.molden@gmail.com> - 2014-05-12 19:59 +0000

#71258 — NumPy, SciPy, & Python 3X Installation/compatibility issues

Fromesawiek@gmail.com
Date2014-05-10 10:07 -0700
SubjectNumPy, SciPy, & Python 3X Installation/compatibility issues
Message-ID<1267f900-27e8-46c5-839e-81bfafa533a5@googlegroups.com>
Hi All--

Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could not find any definitive answers to my questions, below.  I had run into many mostly installation problems that I could never get NumPy or SciPy to work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
A few questions:
1.	What are the latest versions of NumPy and SciPy that are compatible with Python 3.3 or newer and Windows7 64 bit? 
2.	What is the best source to download and install them on my computer?
3.	Are they all installable on my OS w/o any major problems/addition?
4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?
Thanks in advance. EK

[toc] | [next] | [standalone]


#71259

FromChris Angelico <rosuav@gmail.com>
Date2014-05-11 03:22 +1000
Message-ID<mailman.9855.1399742546.18130.python-list@python.org>
In reply to#71258
On Sun, May 11, 2014 at 3:07 AM,  <esawiek@gmail.com> wrote:
> 4.      In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?

Yes. Absolutely yes. But that's because it's better to run Unix than
Windows regardless of all other considerations. :)

As a general rule, a Linux (I can't speak for other flavours of Unix,
but I expect they'll be mostly the same) system will tend to settle
into better performance the longer it keeps running, as long as it has
sufficient RAM. The things you use will tend to be in cache, but other
than that, nothing much changes as you seek toward infinite uptime.
Windows, on the other hand, tends to accumulate cruft; the longer you
keep the system running, the more RAM gets wasted in various nooks and
crannies. I can't be sure of whether it's the OS itself or an
application, but I do know that my Windows laptop sometimes needs to
be rebooted just because "stuff's feeling a bit sluggish", and none of
my Linux boxes are like that.

That said, though, my idea of uptime is measured in months. If you're
the sort of person who arrives at work, turns on the computer, uses it
for a day, and then turns it off and goes home, the difference gets a
lot smaller. (Unless you suspend/hibernate rather than actually
shutting down, in which case the difference gets bigger again.) I
still prefer a Unix system, though, because the worst messes I can get
myself into can usually be cured by SSH'ing in and killing some
process, which on Windows is both harder to do and less effective.

ChrisA

[toc] | [prev] | [next] | [standalone]


#71260

FromНикола Вукосављевић <hauzer@gmx.com>
Date2014-05-10 19:15 +0200
Message-ID<mailman.9856.1399745893.18130.python-list@python.org>
In reply to#71258
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10.5.2014 19:07, esawiek@gmail.com wrote:
> Hi All--
> 
> Let me state at the start that I am new to Python. I am moving away
> from Fortran and Matlab to Python and I use all different types of
> numerical and statistical recipes in my work. I have been reading
> about NumPy and SciPy and could not find any definitive answers to
> my questions, below.  I had run into many mostly installation
> problems that I could never get NumPy or SciPy to work with Python
> 3.3 or newer.  I am using Windows7 64 bit OS. A few questions: 1.
> What are the latest versions of NumPy and SciPy that are compatible
> with Python 3.3 or newer and Windows7 64 bit? 2.	What is the best
> source to download and install them on my computer? 3.	Are they all
> installable on my OS w/o any major problems/addition? 4.	In the
> long run, would it be better to use UNIX instead of Windows, if I
> were to use Python for all of my research? Thanks in advance. EK
> 
For 64-bit Windows, I've had luck with installations from
http://www.lfd.uci.edu/~gohlke/pythonlibs/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTbl6WAAoJEB1x37R9kdwnVQ4QAMHRLmwKHKAKDiitrSlt/glo
szOMAcjVff4vjNYt5N0x2Rqr1e6vgte9NoGcOgKPJbR1GUYMphQK3pgbkPfxX2Cl
030MI2ir//0WiCYP80rsLJBgAv88vhWx/dKFpG8EeN7LEP6AkJflVsWKeET4ZGfU
p0S/L1n/pePpiNs15QwZ0LVvTu7u86ZSJuxkLQfznL53aJtl5ztPFgNfvgvbW56f
Dap9KruqhbkC1EZD/6ogBQUgDZS51o0Cv3UsXdZJD0W69elnGXLHmCTY4kUwCDSa
psY29aviZHf8RHn5cb/TWobbu5P5PRJx0PVoIRmE8/CDlQKfXny7wPaU6e6PgT0Y
hmnskuN0PBubDm1zfZgiolOa4g5VzVVuB/r/JRpnAw4nxq6tluHbhs/OfFjSEUPu
n3qA4nCTB2wI5cP32sy3Q87SJ33ZQR0Nc8wHOLDmhgyhox7699q/7yu1RLYUCXAS
VLaQ4WEIgH3xJKrmDjktwdDsC+HBlfZuHqUxpHS/rAi54ey8OLWWoBW4t4ZE2PTn
0FPEejNI526WrUS1G/MjoaFAI/usSjnoThERg8gCroAi89JjoE4B53BT4Z5ONhQU
APPfkCIlzW2WQslxXhuoJY2XWM4NMf/dOOfS60qCVZa3EQaX97xo2j96mKkR9bMO
TYrl2RUWjMetm8t8VFNO
=v+OK
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#71261

FromStefan Behnel <stefan_ml@behnel.de>
Date2014-05-10 20:25 +0200
Message-ID<mailman.9857.1399746377.18130.python-list@python.org>
In reply to#71258
esawiek@gmail.com, 10.05.2014 19:07:
> Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could not find any definitive answers to my questions, below.  I had run into many mostly installation problems that I could never get NumPy or SciPy to work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
> A few questions:
> 1.	What are the latest versions of NumPy and SciPy that are compatible with Python 3.3 or newer and Windows7 64 bit? 
> 2.	What is the best source to download and install them on my computer?
> 3.	Are they all installable on my OS w/o any major problems/addition?
> 4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?

I concur with Chris that Linux is generally a better choice than Windows,
if only to get a nicely preconfigured system that makes it easy to install
stuff. Especially for "research" (assuming we're talking about the same
thing). If you say that you're "moving away from Fortran" on Windows, then
I guess you're aware how clumsy low level software development can be on
that platform and how tricky it is to set up. That could be enough of a
reason to switch platforms (assuming that's really an option for you).

Ok, if you use only the IPython notebook for all your processing needs, you
may not notice the difference in terms of interface all that much, but in
that case, why stick with Windows in the first place? :)

If you decide to use Windows, try Anaconda. It's an all inclusive installer
that comes with pretty much all of your scientific processing tools in one
package:

http://docs.continuum.io/anaconda/

There's a Py3.3 version.

Stefan

[toc] | [prev] | [next] | [standalone]


#71269

Fromesawiek@gmail.com
Date2014-05-10 13:08 -0700
Message-ID<7a80261b-99ba-4b8e-91b7-46cc36662ffa@googlegroups.com>
In reply to#71258
On Saturday, May 10, 2014 1:07:33 PM UTC-4, esa...@gmail.com wrote:
> Hi All--
> 
> 
> 
> Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could not find any definitive answers to my questions, below.  I had run into many mostly installation problems that I could never get NumPy or SciPy to work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
> 
> A few questions:
> 
> 1.	What are the latest versions of NumPy and SciPy that are compatible with Python 3.3 or newer and Windows7 64 bit? 
> 
> 2.	What is the best source to download and install them on my computer?
> 
> 3.	Are they all installable on my OS w/o any major problems/addition?
> 
> 4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?
> 
> Thanks in advance. EK

[toc] | [prev] | [next] | [standalone]


#71270

Fromesawiek@gmail.com
Date2014-05-10 13:14 -0700
Message-ID<d30d784c-4449-49a8-a8ac-311710a609db@googlegroups.com>
In reply to#71258
On Saturday, May 10, 2014 1:07:33 PM UTC-4, esa...@gmail.com wrote:
> Hi All--
> 
> 
> 
> Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could not find any definitive answers to my questions, below.  I had run into many mostly installation problems that I could never get NumPy or SciPy to work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
> 
> A few questions:
> 
> 1.	What are the latest versions of NumPy and SciPy that are compatible with Python 3.3 or newer and Windows7 64 bit? 
> 
> 2.	What is the best source to download and install them on my computer?
> 
> 3.	Are they all installable on my OS w/o any major problems/addition?
> 
> 4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?
> 
> Thanks in advance. EK

Thank you all. I checked the website suggested in on of the replies and it looks promising. Because I want to use Num, SciPy, and Python on windows just to be familiar with them a little more, then I do plan to migrate to UNIX. I will let you posted on my progress. Thanks again. EK

[toc] | [prev] | [next] | [standalone]


#71271

FromMark H Harris <harrismh777@gmail.com>
Date2014-05-10 15:14 -0500
Message-ID<lkm1bc$kbv$1@speranza.aioe.org>
In reply to#71258
On 5/10/14 12:07 PM, esawiek@gmail.com wrote:
> 4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?
>

I concur with Chris and Stefan. The *nix model is faster, cleaner, and 
more secure. I prefer gnu/linux, but mac os/x is also quite nice. Simply 
change... or, if you like, just switch.

I moved away from OS/2 and Windows in the late 1990s and have never 
looked back; no reason to use Windows what-so-ever.

You're question (in the long run) is important, to be fair. Because, in 
the short run there will be some learning curve, and there will be some 
conceptual porting as well as code porting to handle; not to mention 
apps. All critical apps from Windows, and most day-to-day apps have free 
libre counter-parts in the unix world, and most everyday apps have gnu 
counter parts and others. Just switch.

Proprietary code and systems will not survive the 21st century, you can 
be sure of that. 'We' can never allow another Microsoft to rule again; 
not google, nor canonical, nor oracle, nor anyone else. 'We' must have 
net neutrality, and software idea patents must die (world-wide).

Go gnu/linux

Go Python

Go away, Microsoft, go away Oracle.


marcus

[toc] | [prev] | [next] | [standalone]


#71394

FromJoseph Martinot-Lagarde <joseph.martinot-lagarde@m4x.org>
Date2014-05-12 19:01 +0200
Message-ID<mailman.9916.1399914127.18130.python-list@python.org>
In reply to#71258
Le 10/05/2014 19:07, esawiek@gmail.com a écrit :
> Hi All--
>
> Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could not find any definitive answers to my questions, below.  I had run into many mostly installation problems that I could never get NumPy or SciPy to work with Python 3.3 or newer.  I am using Windows7 64 bit OS.
> A few questions:
> 1.	What are the latest versions of NumPy and SciPy that are compatible with Python 3.3 or newer and Windows7 64 bit?
> 2.	What is the best source to download and install them on my computer?
> 3.	Are they all installable on my OS w/o any major problems/addition?
> 4.	In the long run, would it be better to use UNIX instead of Windows, if I were to use Python for all of my research?
> Thanks in advance. EK
>
Building the scientific libraries on windows is very tricky because you 
need a compatible C and Fortran compiler, as well as some libraries. The 
usual and recommended route is to use python distributions where the 
most used libraries are installed. You can still use pip to install 
additionnal packages. You have a list over here: 
http://www.scipy.org/install.html

---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com

[toc] | [prev] | [next] | [standalone]


#71401

FromSturla Molden <sturla.molden@gmail.com>
Date2014-05-12 19:59 +0000
Message-ID<mailman.9920.1399924776.18130.python-list@python.org>
In reply to#71258
<esawiek@gmail.com> wrote:

> 4.	In the long run, would it be better to use UNIX instead of Windows, if
> I were to use Python for all of my research?
> Thanks in advance. EK

For scientific computing, a UNIX or Linux system is clearly preferable.
Most of the scientific computing software is built around the UNIX
ecosystem.

This is the reason many scientists prefer to work on a Mac. I have a UNIX
system ready to use in the terminal, developer tools are free, and it
stills runs all the deskop apps I need (even Microsoft Office).  Apple even
provides us with highly optimized LAPACK, BLAS and FFT libraries as a part
of the operating system (Accelerate Framework). Even the free NumPy and
SciPy installers can link to Accelerate on a Mac. 

Matlab runs on Linux and Mac as well. That is not s reason to stay on
Windows.

An alternative to a Mac is to install Oracle Virtualbox and use it to run
Windows or Linux. Windows as host tends to work best on a laptop. On a
workstation it does not matter. 

If you are using Windows now and are happy with it, I would suggest you
just install Ubuntu into an VM with Virtualbox and forget about Windows
installers for Python, NumPy, SciPy, et al. Spend some money to buy an SSD
drive and more RAM if you need. The performance with Virtualbox is
excellent. Get a Python distro that uses MKL for faster linear algebra,
such as Enthought or Anaconda. Windows can be a great desktop OS because of
all the available applications. It sucks rocks for any coding or scientific
computing. But there is no law that says you need to use either. You can
have the best of both world's if you like.

Sturla

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web