Opened 18 years ago

Closed 18 years ago

#82 closed defect (worksforme)

Installing ASAP on a Mac

Reported by: m.burton@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP2 release
Component: python Version: 2.0
Severity: normal Keywords:
Cc: m.burton@…

Description

Malte & Chris

I'm once more valiantly trying to install the latest version of ASAP on my Mac, but am afraid I am getting no further than before.

I'm trying to follow the instructions on the wiki page, and have even tried both the alternatives for the matplotlibrc install (though I not quite sure what the second is supposed to be an alterbnative for).

The first problem comes with the command "ipython -pylab" (even when starting up a completing new terminal). Basically ipython is not recognised as a command. I can get "./ipython.py -pylab" to start, though it complains that it can import matplotlib. Though you do get as far as the prompt.

After that ASAP just doesn't run up.

I'm leaving a print out below.

This is all very frustrating, and I still haven't been able to look at any DFB data since leaving Oz at the end of July!!

Thanks

Michael

Extracts fron the install, on a Mac OSX 10.4.7 PPC G4

mgb12:/Applications/ipython-0.7.2 mgb$ sudo python setup.py install Password: running install running build running build_py running build_scripts running install_lib running install_scripts changing mode of /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ip ython to 755 changing mode of /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ir unner to 755 changing mode of /System/Library/Frameworks/Python.framework/Versions/2.3/bin/py color to 755 running install_data mgb12:/Applications/ipython-0.7.2 mgb$ ip ip6 ip6fw ipcrm ipf-mod.pl ipseclog ip6config ipconfig ipcs ipfw mgb12:/Applications/ipython-0.7.2 mgb$ ipyton -pylab bash: ipyton: command not found mgb12:/Applications/ipython-0.7.2 mgb$ ipython -pylab bash: ipython: command not found mgb12:/Applications/ipython-0.7.2 mgb$ ./ipython.py -pylab ERROR: matplotlib could NOT be imported! Starting normal IPython. WARNING: Readline services not available on this platform. WARNING: The auto-indent feature requires the readline library WARNING: Proper color support under MS Windows requires Gary Bishop's readline library.You can find it at http://sourceforge.net/projects/uncpythontools Gary's readline needs the ctypes module, from: http://starship.python.net/crew/theller/ctypes

Defaulting color scheme to 'NoColor' Python 2.3.5 (#1, Mar 20 2005, 20:38:20) Type "copyright", "credits" or "license" for more information.

IPython 0.7.2 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]:

*

Loading ASAP... Can't find, or no execute permissions for 'ipython' Running asap through 'python': Traceback (most recent call last):

File "<string>", line 1, in ?

ImportError: No module named asap mgb12:/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data mgb$

Change History (4)

comment:1 by Chris Phillips, 18 years ago

Hi Michael,

I cannot help sorry as I don't use a mac. However a number of people have succesfully installed asap on their macs. This sounds like it is something setup in an odd way on your mac - certainly ipython is not setup correctly (which is totaly independant of asap). Malte may be able to make some suggestiongs, but I think the best thing would be to find a max expert who can make some suggestions for you.

Cheers Chris

comment:2 by Malte Marquarding, 18 years ago

Status: newassigned

I am on my way to South Africa but at first glance it looks like you are not runnig the correct version of python (2.3 instead of 2.4) I have no idea how this happend as the instructions worked everywhere else.

Please provide:

echo $PATH echo $PYTHONPATH python -V which python which python2.4 which ipython

cat ~/.profile

and wether you use tcsh ot bash

Malte.

comment:3 by Malte Marquarding, 18 years ago

Cc: m.burton@… added

comment:4 by Malte Marquarding, 18 years ago

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.