[Pythonmac-SIG] Installing NumPy

Kevin Walzer kw at kevin-walzer.com
Sun Jul 16 16:30:52 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joel Levine wrote:
> I am trying to get up and running under Mac10.4 with the Intel chip.
> 
> My old code runs on my 10.3 machine. On this machine, it can not find
> Numeric.
> 
> That's reasonable: It isn't there.
> 
> If I copy the contents of my old Numeric folder to a proper location,
> Python simply dies when I try to import. It will be obvious that I'm not
> experienced with Unix: I'm guessing that the old folder contained
> compiled code that doesn't belong on that machine.
> 
> So -- I downloaded NumPy. I've put it in a folder of its own, for
> safety. The instructions tell me to install with the command:
> 
> python setup.py install
> 
> But I'm running into a permission problem. I get
> 
> error: could not create 'build': Permission denied
> 
> 
> Any suggestion?
> 

Try installing the universal build of Python 2.4.3 and rebuilding numpy.
  Simply moving binaries from 10.3 PPC to 10.4 Mactel won't work;
they're not compatible. If you want to simply build numpy on your new
machine with the Python installed there, try adding a "sudo" to python
setup.py install; that should solve the permissions issue.


- --
Kevin Walzer
Poetic Code
http://www.kevin-walzer.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEuk2crTC5hIgjqTMRAnsVAJwPN1Q6uiNZBI1KWEwX3tre647KTgCgiMJZ
YuZiUaXRBJzpd8d0iOzOHAA=
=4vha
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list