[SciPy-user] 64 bit on Mac?

Adam keflavich@gmail....
Fri May 22 10:40:22 CDT 2009


Awesome, thanks!  That fixed my numpy build errors.  I then
successfully installed scipy and matplotlib.  However, I still failed
at getting a nice pylab session running: ipython won't run because of
'entry point' errors.  Argh.  Any tips there?  I swear someday I'll
get a 64 bit pylab session running...

Traceback (most recent call last):
  File "/usr/local/bin/ipython", line 9, in <module>
    load_entry_point('ipython==0.9.1', 'console_scripts', 'ipython')()
  File "build/bdist.macosx-10.5-universal/egg/pkg_resources.py", line
277, in load_entry_point
  File "build/bdist.macosx-10.5-universal/egg/pkg_resources.py", line
2179, in load_entry_point
ImportError: Entry point ('console_scripts', 'ipython') not found

Also, if anyone's interested, I'm also pursuing a solution via sage,
but it has its own set of unique and interesting problems....
http://groups.google.com/group/sage-support/browse_thread/thread/7ef78c32ff399de5/02c84985c84d25e3?lnk=gst&q=sage+with+tkinter#02c84985c84d25e3

Again, thanks,
Adam

On May 20, 8:17 pm, Roger Herikstad <roger.heriks...@gmail.com> wrote:
> Hi,
>  Sounds like the exact same problem I was having. There's a ticket for
> it herehttp://projects.scipy.org/numpy/ticket/1111, with a patch that
> fixed the problem for me, at least.
> Good luck!
>
> ~ Roger
>
>
>
> On Wed, May 20, 2009 at 10:36 PM, Gins <keflav...@gmail.com> wrote:
> > Thanks.  I successfully got python 2.6.2 compiled with 64 bit support,
> > but when I try to compile numpy I run into errors that are a little
> > beyond my experience:
>
> > gcc: build/src.macosx-10.5-universal-2.6/numpy/core/src/_sortmodule.c
> > In file included from numpy/core/include/numpy/ndarrayobject.h:26,
> >                 from numpy/core/include/numpy/noprefix.h:7,
> >                 from numpy/core/src/_sortmodule.c.src:29:
> > numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown
> > CPU: can not set endianness
> > lipo: can't figure out the architecture type of: /var/folders/ni/ni
> > +DtdqFGMeSMH13AvkNkU+++TI/-Tmp-//ccJos8Iw.out
> > In file included from numpy/core/include/numpy/ndarrayobject.h:26,
> >                 from numpy/core/include/numpy/noprefix.h:7,
> >                 from numpy/core/src/_sortmodule.c.src:29:
> > numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown
> > CPU: can not set endianness
> > lipo: can't figure out the architecture type of: /var/folders/ni/ni
> > +DtdqFGMeSMH13AvkNkU+++TI/-Tmp-//ccJos8Iw.out
> > error: Command "gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 -
> > isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -
> > fwrapv -O3 -Wall -Wstrict-prototypes -Inumpy/core/include -Ibuild/
> > src.macosx-10.5-universal-2.6/numpy/core/include/numpy -Inumpy/core/
> > src -Inumpy/core/include -I/Library/Frameworks/Python.framework/
> > Versions/2.6/include/python2.6 -c build/src.macosx-10.5-universal-2.6/
> > numpy/core/src/_sortmodule.c -o build/temp.macosx-10.5-universal-2.6/
> > build/src.macosx-10.5-universal-2.6/numpy/core/src/_sortmodule.o"
> > failed with exit status 1
>
> > and I haven't had any luck with the numpy .dmg files for mac.
>
> > I'll check out sage next and report back.  Thanks for the tips!
> > Adam
>
> > On May 19, 5:48 pm, David Warde-Farley <d...@cs.toronto.edu> wrote:
> >> Hi Adam,
>
> >> On 17-Apr-09, at 12:38 PM, Keflavich wrote:
>
> >> > can't get a 64-bit version of python compiled and google has been
> >> > unhelpful in resolving the problem.  Is there a workaround to get 64
>
> >> I have had a lot of success with (using the 2.6.2 sources)
>
> >> mkdir -p build && cd build && ./configure --with-framework-
> >> name=Python64 --with-universal-archs=all --enable-framework --enable-
> >> universalsdk=/ MACOSX_DEPLOYMENT_TARGET=10.5 && make && sudo make
> >> install
>
> >> That builds a 4-way universal binary. --with-universal-archs=64-bit
> >> will get you just the 64 bit stuff (note that a few of the make
> >> install steps will fail because of Carbon deprecation but nothing
> >> important as far as I can see).
>
> >> David
> >> _______________________________________________
> >> SciPy-user mailing list
> >> SciPy-u...@scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-u...@scipy.org
> >http://mail.scipy.org/mailman/listinfo/scipy-user
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-u...@scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-user mailing list