Ask Your Question
1

can't install lrslib [closed]

asked 2016-08-03 18:08:03 +0100

jwalters gravatar image

I'm on OSX 10.11.6.

sage -version
SageMath version 7.2, Release Date: 2016-05-15

I'm trying to install the package lrslib using

sage -i lrslib

real    0m10.849s
user    0m9.633s
sys 0m0.907s
Successfully installed lrslib-051
Running the test suite for lrslib-051...
lrs ext/test/cut16_11.ext > testout1
echo `grep -G Volume testout1` > testout1
echo "*Volume= 32768/14175" > testout2
diff testout1 testout2
lrs ine/test/cyclic17_8.ine > testout1
echo `grep -G Totals testout1` > testout1
echo "*Totals: vertices=935 rays=0 bases=935 integer_vertices=0" > testout2
diff testout1 testout2
rm testout1
rm testout2

real    0m0.101s
user    0m0.065s
sys 0m0.027s
Deleting temporary build directory
/Applications/SageMath-7.2.app/Contents/Resources/sage/local/var/tmp/sage/build/lrslib-051
Finished installing lrslib-051.spkg

real    1m20.160s
user    0m55.896s
sys 0m19.371s
Sage build/upgrade complete!

It seems to install successfully, however when I go to run sage I get the following error and crashlog:

***************************************************************************

IPython post-mortem report

{'commit_hash': u'44136e4',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': '/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '4.1.2',
 'os_name': 'posix',
 'platform': 'Darwin-15.6.0-x86_64-i386-64bit',
 'sys_executable': '/Applications/SageMath-7.2.app/Contents/Resources/sage/local/bin/python',
 'sys_platform': 'darwin',
 'sys_version': '2.7.10 (default, Jun  9 2016, 11:40:29) \n[GCC 4.9.3]'}

***************************************************************************



***************************************************************************

Crash traceback:

---------------------------------------------------------------------------
---------------------------------------------------------------------------
ImportErrorPython 2.7.10: /Applications/SageMath-7.2.app/Contents/Resources/sage/local/bin/python
                                                   Wed Aug  3 12:05:41 2016
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/Applications/SageMath-7.2.app/Contents/Resources/sage/src/bin/sage-ipython in <module>()
      1 #!/usr/bin/env python
      2 # -*- coding: utf-8 -*-
      3 """
      4 Sage IPython startup script.
      5 """
      6 
      7 # Install extra readline commands before IPython initialization
      8 from sage.repl.readline_extra_commands import *
      9 
     10 from sage.repl.interpreter import SageTerminalApp
     11 
     12 app = SageTerminalApp.instance()
---> 13 app.initialize()
        global app.initialize = <bound method SageTerminalApp.initialize of <sage.repl.interpreter.SageTerminalApp object at 0x1032dc390>>
     14 app.start()

<decorator-gen-111> in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)

/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/traitlets/config/application.py in catch_config_error(method=<function initialize>, app=<sage.repl.interpreter.SageTerminalApp object>, *args=(None,), **kwargs={})
     59 

....
....
....

/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/functional.py in <module>()
     15 #*****************************************************************************
     16 #       Copyright (C) 2004 William Stein <------------->
     17 #
     18 # This program is free software: you can redistribute it and/or modify
     19 # it under the terms of the GNU General Public License as published by
     20 # the Free Software Foundation, either version 2 of the License, or
     21 # (at your option) any later version.
     22 #                  -------------
     23 #*****************************************************************************
     24 
     25 import sage.misc.latex
     26 import sage.interfaces.expect
     27 import sage.interfaces.mathematica
     28 
     29 
---> 30 from sage.rings.complex_double import CDF
        global sage.rings.complex_double = undefined
        global CDF = undefined
     31 from sage.rings.real_double import ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jwalters
close date 2016-08-04 22:14:18.679692

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-04 22:14:06 +0100

jwalters gravatar image

Solved: I had downloaded the version of Sage meant for OSX 10.7.4. Whoops!

edit flag offensive delete link more

Comments

@jwalters, you can accept this answer; this will mark the answer as accepted and the question as solved.

slelievre gravatar imageslelievre ( 2018-05-17 12:49:30 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-03 18:08:03 +0100

Seen: 392 times

Last updated: Aug 03 '16