Hello all, I have used numpy on both Mac and Windows. The latter is easily installed with the exe file. The former required the gcc program from XCode... but once installed, "python setup.py install" worked. I cant seem to get numpy to work on my linux machine. Can someone point me to a platform-independent doc on how to install from the source tar file? Thanks ahead of time, MJ Mark Janikas Product Engineer ESRI, Geoprocessing 380 New York St. Redlands, CA 92373 909-793-2853 (2563) mjanikas@esri.com
Mark Janikas wrote:
Hello all,
I have used numpy on both Mac and Windows. The latter is easily installed with the exe file. The former required the gcc program from XCode… but once installed, “python setup.py install” worked. I cant seem to get numpy to work on my linux machine. Can someone point me to a platform-independent doc on how to install from the source tar file? Thanks ahead of time,
We need more information from you. There is no way one can make a platform-independent doc that covers all of the cases. We need to know what you tried and exactly how it failed (i.e., we need you to copy the exact error messages and paste them into an email). If I had to guess, though, since you succeeded doing an install from source on OS X, the problem on Linux is likely that you do not have the appropriate Python development package for your system. On RPM-based systems like Fedora Core, it is usually named something like python-devel. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Thanks Robert, Sorry for the incomplete request for help. The install of numpy seems to go fine, but when I import numpy it reports that it is running from the source directory. I assume this has to do with the BLAS/ATLAS stuff I have been reading about. What I am actually trying to do is get NumPy wrapped in the install of our software program. We currently wrap Python2.4 as our scripting language and I need a way to get numpy in our compiler. The gui portions of our software runs on Windows but the engine works on Unix flavors. I am afraid I am not too knowledgeable about what goes on under the hood of the NumPy install. I assume I need an appropriate C compiler (where gcc fit in for Mac OSX), but I was wondering if there was an appropriate Doc I should closely examine that would point me in the right direction. I hope this clears my question up a bit. Again, thanks in advance.... MJ -----Original Message----- From: numpy-discussion-bounces@scipy.org [mailto:numpy-discussion-bounces@scipy.org] On Behalf Of Robert Kern Sent: Wednesday, February 28, 2007 11:26 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Source install Mark Janikas wrote:
Hello all,
I have used numpy on both Mac and Windows. The latter is easily installed with the exe file. The former required the gcc program from XCode... but once installed, "python setup.py install" worked. I cant seem to get numpy to work on my linux machine. Can someone point me to a platform-independent doc on how to install from the source tar file? Thanks ahead of time,
We need more information from you. There is no way one can make a platform-independent doc that covers all of the cases. We need to know what you tried and exactly how it failed (i.e., we need you to copy the exact error messages and paste them into an email). If I had to guess, though, since you succeeded doing an install from source on OS X, the problem on Linux is likely that you do not have the appropriate Python development package for your system. On RPM-based systems like Fedora Core, it is usually named something like python-devel. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Mark Janikas wrote:
Thanks Robert,
Sorry for the incomplete request for help. The install of numpy seems to go fine, but when I import numpy it reports that it is running from the source directory.
Oh, just cd to somewhere else. Otherwise, you will pick up the partial numpy package in the source directory that we use to bootstrap the build.
I assume this has to do with the BLAS/ATLAS stuff I have been reading about. What I am actually trying to do is get NumPy wrapped in the install of our software program. We currently wrap Python2.4 as our scripting language and I need a way to get numpy in our compiler. The gui portions of our software runs on Windows but the engine works on Unix flavors. I am afraid I am not too knowledgeable about what goes on under the hood of the NumPy install. I assume I need an appropriate C compiler (where gcc fit in for Mac OSX), but I was wondering if there was an appropriate Doc I should closely examine that would point me in the right direction. I hope this clears my question up a bit. Again, thanks in advance....
The standard Python documentation "Install Python Modules" is useful to read. We have extended the standard distutils package that is described there, but the fundamentals are applicable. http://docs.python.org/inst/inst.html Reading the site.cfg.example file in the numpy source is useful information for configuring numpy. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Thanks Robert, All good info as usual. Best wishes, MJ -----Original Message----- From: numpy-discussion-bounces@scipy.org [mailto:numpy-discussion-bounces@scipy.org] On Behalf Of Robert Kern Sent: Wednesday, February 28, 2007 3:32 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Source install Mark Janikas wrote:
Thanks Robert,
Sorry for the incomplete request for help. The install of numpy seems to go fine, but when I import numpy it reports that it is running from the source directory.
I assume this has to do with the BLAS/ATLAS stuff I have been reading about. What I am actually trying to do is get NumPy wrapped in the install of our software program. We currently wrap Python2.4 as our scripting language and I need a way to get numpy in our compiler. The gui portions of our software runs on Windows but the engine works on Unix flavors. I am afraid I am not too knowledgeable about what goes on under the hood of the NumPy install. I assume I need an appropriate C compiler (where gcc fit in for Mac OSX), but I was wondering if there was an appropriate Doc I should closely examine
Oh, just cd to somewhere else. Otherwise, you will pick up the partial numpy package in the source directory that we use to bootstrap the build. that
would point me in the right direction. I hope this clears my question up a bit. Again, thanks in advance....
The standard Python documentation "Install Python Modules" is useful to read. We have extended the standard distutils package that is described there, but the fundamentals are applicable. http://docs.python.org/inst/inst.html Reading the site.cfg.example file in the numpy source is useful information for configuring numpy. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Mark Janikas
-
Robert Kern