I am currently running Mathematica through wine on Ubuntu. >From the command line: [EMAIL PROTECTED]:~$ wine "C:\Program Files\Wolfram Research\Mathematica \6.0\math.exe" Mathematica 6.0 for Microsoft Windows (32-bit) Copyright 1988-2008 Wolfram Research, Inc.
In[1]:= And in /usr/bin/math [EMAIL PROTECTED]:~$ cat /usr/bin/math #/bin/bash wine "C:\Program Files\Wolfram Research\Mathematica\6.0\math.exe" However, I get this in sage: sage: mathematica('1+1') Timeout exceeded in read_nonblocking(). <pexpect.spawn instance at 0xae5988c> version: 2.0 ($Revision: 1.151 $) command: /usr/bin/math args: ['/usr/bin/math'] patterns: In[[0-9]+]:= buffer (last 100 chars): before (last 100 chars): mand, self.args) 425 426 # Parent OSError: [Errno 8] Exec format error sage: after: <class 'pexpect.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: 0 pid: 3157 child_fd: 3 timeout: 30 delimiter: <class 'pexpect.EOF'> logfile: None maxread: 100 searchwindowsize: None delaybeforesend: 0 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/qj/<ipython console> in <module>() /home/qj/sage/local/lib/python2.5/site-packages/sage/interfaces/ expect.pyc in __call__(self, x, name) 963 return x 964 if isinstance(x, basestring): --> 965 return cls(self, x, name=name) 966 try: 967 return self._coerce_from_special_method(x) /home/qj/sage/local/lib/python2.5/site-packages/sage/interfaces/ expect.pyc in __init__(self, parent, value, is_name, name) 1281 except (TypeError, KeyboardInterrupt, RuntimeError, ValueError), x: 1282 self._session_number = -1 -> 1283 raise TypeError, x 1284 self._session_number = parent._session_number 1285 TypeError: Unable to start mathematica What should I do to get the Mathematica interface to work? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---