Re: [Numpy-discussion] help getting started
David Cournapeau wrote: Christopher, would you mind trying the following binary ? http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy/scipy-0.7.0-py2.5-macosx10.5.mpkg.tar That binary seems to be working OK on my PPC 10.4 mac, with no gfortran installed. Is it up on the main site yet? Thanks for all your work on this, -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
On Sat, Apr 11, 2009 at 1:47 PM, David Cournapeau courn...@gmail.com wrote: ATM, I am dealing with a third one: scipy.test() crashes right away when importing scipy.cluster Ok, ended up being a problem with incompatible matplotlib imported by scipy.cluster, and specific to my machine. Anyway, problem solved. Christopher, would you mind trying the following binary ? http://www.ar.media.kyoto-u.ac.jp/members/david/archives/numpy/scipy-0.7.0-py2.5-macosx10.5.mpkg.tar It should solve both universal build and statically linking gfortran issues, David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] help getting started
Intel mac. Python 2.6. I'm trying to start using numpy and scipy, and am having trouble. I'm trying to install numpy following the instructions on http://scipy.org/Installing_SciPy/Mac_OS_X . when I give the python setup.py build command, it doesn't work. Here's my interaction at the terminal: john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy johnseales$ python setup.py build This is the wrong setup.py file to run john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy Anybody have any ideas how I can get up and runnng? _ Rediscover HotmailĀ®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
On Sat, Apr 11, 2009 at 2:30 AM, John Seales praxbaf...@hotmail.com wrote: Intel mac. Python 2.6. I'm trying to start using numpy and scipy, and am having trouble. I'm trying to install numpy following the instructions on http://scipy.org/Installing_SciPy/Mac_OS_X . when I give the python setup.py build command, it doesn't work. Here's my interaction at the terminal: john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy johnseales$ python setup.py build This is the wrong setup.py file to run john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy Anybody have any ideas how I can get up and runnng? nothing :) It looks like you have already installed numpy (site-packages is the directory where all python packages like numpy get installed by default). You just have to run the python interpreter, and import numpy. That is, if you can do: python -c import numpy It means you have numpy installed. David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
Hi John, First, did you build your own Python 2.6 or install from a binary? When you type python at the command prompt, which python runs? (You can find this out by running which python from the command line.) Second, it appears that numpy is *already installed* for a non-apple python 2.5 on your computer. (Either you manually built that python, or installed it from an installer, and then you built or installed numpy for that python?) I can tell this because you have a directory: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/numpy which normally gets created during the process of installing numpy for Python 2.5. Unless you manually created this directory yourself somehow? Anyhow, that directory is *not* the source-code directory that you should be running numpy's setup.py from; it is the directory that the installation process for numpy copies all of the necessary files into! Anyhow, how did you come to be executing commands from that directory? The numpy install instructions definitely don't have a cd /Library/ Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ numpy step... So, if you want to use numpy with python 2.5, you should be all set already. If you need to use it with 2.6, then you will want to download the source code into a directory somewhere -- say in your home folder. Then execute python setup.py install from *this* directory. (Note: if typing python does not run python 2.6, but instead runs python 2.5, you will want to do python2.6 setup.py install... Feel free to ask any more questions -- I'm heading out the door, so this might be a bit terse. Zach On Apr 10, 2009, at 1:30 PM, John Seales wrote: Intel mac. Python 2.6. I'm trying to start using numpy and scipy, and am having trouble. I'm trying to install numpy following the instructions on http://scipy.org/Installing_SciPy/Mac_OS_X . when I give the python setup.py build command, it doesn't work. Here's my interaction at the terminal: john-seales-computer:/Library/Frameworks/Python.framework/Versions/ 2.5/lib/python2.5/site-packages/numpy johnseales$ python setup.py build This is the wrong setup.py file to run john-seales-computer:/Library/Frameworks/Python.framework/Versions/ 2.5/lib/python2.5/site-packages/numpy Anybody have any ideas how I can get up and runnng? Rediscover HotmailĀ®: Now available on your iPhone or BlackBerry Check it out.___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
loading the numpy or scipy module doesn't work, whether I do it at the terminal command line or at the python interpreter. Anyone know what else might be wrong? Date: Sat, 11 Apr 2009 03:10:07 +0900 From: courn...@gmail.com To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] help getting started On Sat, Apr 11, 2009 at 2:30 AM, John Seales praxbaf...@hotmail.com wrote: Intel mac. Python 2.6. I'm trying to start using numpy and scipy, and am having trouble. I'm trying to install numpy following the instructions on http://scipy.org/Installing_SciPy/Mac_OS_X . when I give the python setup.py build command, it doesn't work. Here's my interaction at the terminal: john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy johnseales$ python setup.py build This is the wrong setup.py file to run john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy Anybody have any ideas how I can get up and runnng? nothing :) It looks like you have already installed numpy (site-packages is the directory where all python packages like numpy get installed by default). You just have to run the python interpreter, and import numpy. That is, if you can do: python -c import numpy It means you have numpy installed. David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion _ Rediscover HotmailĀ®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
John Seales wrote: loading the numpy or scipy module doesn't work, whether I do it at the terminal command line or at the python interpreter. Anyone know what else might be wrong? we're going to have to know a lot more about what you've done so far, but; a) unless you have a strong reason to use Python2.6, I'd use 2.5: - install the python 2.5 form the python,org web site (it looks like you have done this - install the binary for numpy for python 2.5: http://sourceforge.net/project/showfiles.php?group_id=1369package_id=175103 You're done. b) if you really need 2.6, you'll have to build numpy yourself: - Install the binary of Python2.6 from the python web site - make sure that's the one you get when you type python: . which python may help here . If it's not, edit your .bash_profile to get it on your PATH. - download the source tarball for numpy . unpack it into somewhere in your home directory - Make sure you have the Apple development tools: XCodeTools - cd into the numpy dir, and type: $ python setup.py build $ python setup.py install - run python, and type import numpy Last I checked, the binary for ScipPy was broken, you'll need to get gfortran and compile it yourself, as the page tells you. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
On Sat, Apr 11, 2009 at 5:42 AM, Christopher Barker chris.bar...@noaa.gov wrote: Last I checked, the binary for ScipPy was broken, you'll need to get gfortran and compile it yourself, as the page tells you. This should really be fixed, it is not acceptable to have a broken binary. I will generate a new one, David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] help getting started
On Sat, Apr 11, 2009 at 1:14 PM, Christopher Barker chris.bar...@noaa.gov wrote: David Cournapeau wrote: chris.bar...@noaa.gov wrote: Last I checked, the binary for ScipPy was broken, you'll need to get gfortran and compile it yourself, as the page tells you. This should really be fixed, it is not acceptable to have a broken binary. I will generate a new one, That would be great. IIRC, there were two issues: one was intel-only binaries generated by gfortran, and the other was libgfortran missing. ATM, I am dealing with a third one: scipy.test() crashes right away when importing scipy.cluster :( By the way, how id you end up building the new numpy binary? Any good ideas on the virtualenv issues? I solved it the most expedient way for now: hardcoding the python interpreter to use, and building from scratch, David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion