Opened 11 years ago

Closed 11 years ago

#292 closed defect (fixed)

Interactive ASAP breaks on OS X when installing scipy

Reported by: BaltIndermuehle Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: python Version: 2.0
Severity: normal Keywords:
Cc:

Description

I finally managed to install ASAP 4.1 earlier today and was running it both from scripts as well as from the command line manually/interactively. I then needed to install scipy which on OS X supposedly is best done by installing Chris Fonnebecks "scipy super pack" . Gesagt getan, then ASAP no longer works in interactive mode (possibly an ipython version conflict?). Here's what happens when I type asap:

Traceback (most recent call last):

File "/usr/local/bin/asap", line 5, in <module>

pkg_resources.run_script('asap==4.1.2', 'asap')

File "/Library/Python?/2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 489, in run_script

self.require(requires)[0].run_script(script_name, ns)

File "/Library/Python?/2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1207, in run_script

execfile(script_filename, namespace, namespace)

File "/Library/Python?/2.7/site-packages/asap-4.1.2-py2.7-macosx-10.8-intel.egg/EGG-INFO/scripts/asap", line 50, in <module>

del main

NameError?: name 'main' is not defined

Adding insult to injury, ASAP still works when being run from within scripts. There are a few warning messages that appear whenever matplotlib functions are called which were not there before, but it generally seems to work, except not interactively.

Change History (1)

comment:1 Changed 11 years ago by Malte Marquarding

Resolution: fixed
Status: newclosed

Fixed this error which will be in next release. Unsupported ipyhton version will most likely be the reason, but it shall fall back to python shell gracefully.

Note: See TracTickets for help on using tickets.