From: Alan I. <ai...@am...> - 2006-10-31 18:44:11
|
If other users will not profit from this question, please consider it OT and ignore it. But perhaps it will prove useful to some potential numpy users. I am a long time Windows user who has been happily using the Python and numpy installers. At work I need to use a Mac for a while. I installed Python 2.5 from python.org painlessly, but it looks like I'll have to compile numpy from source. Do I understand that right? I have used interpreted languages for pretty much all my computing needs, so I am hoping someone patient will point me to or lead me through the steps I need to take to successfully install numpy on this platform. Thank you, Alan Isaac |
From: Fernando P. <fpe...@gm...> - 2006-10-31 18:54:30
|
On 10/31/06, Alan Isaac <ai...@am...> wrote: > If other users will not profit from this question, > please consider it OT and ignore it. But perhaps > it will prove useful to some potential numpy users. > > I am a long time Windows user who has been happily > using the Python and numpy installers. At work I > need to use a Mac for a while. I installed Python 2.5 > from python.org painlessly, but it looks like > I'll have to compile numpy from source. > Do I understand that right? > > I have used interpreted languages for pretty much > all my computing needs, so I am hoping someone patient > will point me to or lead me through the steps I need > to take to successfully install numpy on this platform. This is probably a good starting point: http://www.scipy.org/Installing_SciPy/Mac_OS_X There have been numerous threads on this issue recently, so you may also want to do a bit of searching of the mailing list archives. Cheers, f |
From: Steve L. <lis...@ar...> - 2006-10-31 18:59:43
|
Hi Alan, > I installed Python 2.5 > from python.org painlessly, but it looks like > I'll have to compile numpy from source. > Do I understand that right? I believe you'll have to if you want to use Python 2.5. > ... so I am hoping someone patient > will point me to or lead me through the steps I need > to take to successfully install numpy on this platform. I think the instructions on the scipy wiki are pretty thorough: http://scipy.org/Installing_SciPy/Mac_OS_X One thing to note is that I think I've seen on this list that people have been having problems compiling and using num/scipy on Python 2.5 (on any platform (?)) ... I haven't tried it myself, but that's the general feeling I've gotten from some of the emails on that subject. I could be wrong though. Another thing to consider would be to install the "Superpack" which is linked to in the mac section from the scipy downloads page: http://www.scipy.org/Download I also remember seeing on the ML that there were some problems w/ that superpack it not including some config file for ipython or something, but I'm not sure. For what it's worth, I'm using MacPorts (http://macports.org) to manage my python (and a other) installations, and have been compiling scipy/numpy/matplotlib/ipython from svn checkouts every now and again ... this has been working well for me. The version of python you get from macports is 2.4.3 Hope that helps. -steve |
From: Erin S. <eri...@gm...> - 2006-10-31 19:38:41
|
Hi Alan - I have not had luck with the binary distros. There is always something that doesn't work, so I will be interested in the results of your efforts. The biggest problem with compiling things yourself is going to be dealing with LAPACK and fortran issues, and the backends in matplotlib. FWIW, the most stable solution I have found that doesn't involve dealing with dependencies yourself is darwinports (now macports). It currently has 1.0b5 numpy and scipy 0.5.1, which depend on python 2.4. Matplotlib worked with the wxPython backend but not others. While not the latest versions it will get you started, and I would guess 1.0 will be available soon (anyone?). I had absolutely zero problems using this once I realized that I had to use wxPython for the plotting backend. The snag is that gfortran is needed, which requires compiling gcc 4.0 which took 6 hours on my powerbook, so you will need some patience. Erin On 10/31/06, Steve Lianoglou <lis...@ar...> wrote: > Hi Alan, > > > > I installed Python 2.5 > > from python.org painlessly, but it looks like > > I'll have to compile numpy from source. > > Do I understand that right? > > I believe you'll have to if you want to use Python 2.5. > > > ... so I am hoping someone patient > > will point me to or lead me through the steps I need > > to take to successfully install numpy on this platform. > > I think the instructions on the scipy wiki are pretty thorough: > http://scipy.org/Installing_SciPy/Mac_OS_X > > One thing to note is that I think I've seen on this list that people > have been having problems compiling and using num/scipy on Python 2.5 > (on any platform (?)) ... I haven't tried it myself, but that's the > general feeling I've gotten from some of the emails on that subject. > I could be wrong though. > > Another thing to consider would be to install the "Superpack" which > is linked to in the mac section from the scipy downloads page: > http://www.scipy.org/Download > > I also remember seeing on the ML that there were some problems w/ > that superpack it not including some config file for ipython or > something, but I'm not sure. > > For what it's worth, I'm using MacPorts (http://macports.org) to > manage my python (and a other) installations, and have been compiling > scipy/numpy/matplotlib/ipython from svn checkouts every now and > again ... this has been working well for me. The version of python > you get from macports is 2.4.3 > > Hope that helps. > -steve > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: Brian G. <ell...@gm...> - 2006-11-01 00:46:39
|
Nice binaries for gfortran can be found here: hpc.sourceforge.net/ On 10/31/06, Erin Sheldon <eri...@gm...> wrote: > Hi Alan - > > I have not had luck with the binary distros. There is always > something that doesn't work, so I will be interested in > the results of your efforts. > > The biggest problem with compiling things yourself is going > to be dealing with LAPACK and fortran issues, and the > backends in matplotlib. > > FWIW, the most stable solution I have found that doesn't involve > dealing with dependencies yourself is darwinports (now > macports). It currently has 1.0b5 numpy and scipy 0.5.1, which > depend on python 2.4. Matplotlib worked with the wxPython > backend but not others. While not the latest versions it will get > you started, and I would guess 1.0 will be available soon (anyone?). > I had absolutely zero problems using this once I realized that I > had to use wxPython for the plotting backend. The snag > is that gfortran is needed, which requires compiling gcc 4.0 which > took 6 hours on my powerbook, so you will need some patience. > > Erin > > On 10/31/06, Steve Lianoglou <lis...@ar...> wrote: > > Hi Alan, > > > > > > > I installed Python 2.5 > > > from python.org painlessly, but it looks like > > > I'll have to compile numpy from source. > > > Do I understand that right? > > > > I believe you'll have to if you want to use Python 2.5. > > > > > ... so I am hoping someone patient > > > will point me to or lead me through the steps I need > > > to take to successfully install numpy on this platform. > > > > I think the instructions on the scipy wiki are pretty thorough: > > http://scipy.org/Installing_SciPy/Mac_OS_X > > > > One thing to note is that I think I've seen on this list that people > > have been having problems compiling and using num/scipy on Python 2.5 > > (on any platform (?)) ... I haven't tried it myself, but that's the > > general feeling I've gotten from some of the emails on that subject. > > I could be wrong though. > > > > Another thing to consider would be to install the "Superpack" which > > is linked to in the mac section from the scipy downloads page: > > http://www.scipy.org/Download > > > > I also remember seeing on the ML that there were some problems w/ > > that superpack it not including some config file for ipython or > > something, but I'm not sure. > > > > For what it's worth, I'm using MacPorts (http://macports.org) to > > manage my python (and a other) installations, and have been compiling > > scipy/numpy/matplotlib/ipython from svn checkouts every now and > > again ... this has been working well for me. The version of python > > you get from macports is 2.4.3 > > > > Hope that helps. > > -steve > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Numpy-discussion mailing list > > Num...@li... > > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: Erin S. <eri...@gm...> - 2006-11-01 04:02:53
|
On 10/31/06, Brian Granger <ell...@gm...> wrote: > Nice binaries for gfortran can be found here: > > hpc.sourceforge.net/ Do you know how to make macports recognize this compiler if it is outside the macports tree? I had a version of gfortran (4.2.0) already on my system, but it insisted on compiling its own version (4.1.1) Erin |