#14414: runsnake command broken
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:  tbd
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  performance        |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Frédéric Chapoton  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/14414                |  f2654aea5ade94a5f43d87dc3b83906c57054545
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:12 nbruin]:
 > An alternative is to try and figure out how to install runsnake for
 sage's python (i.e., make an spkg out of it) but that seems like a
 hopelessly complicated solution relative to relying on system-provided
 runsnake. That said, fedora still only offers python-SquareMap-1.0.1,
 which is insufficient for the runsnake they offer. But at least the beast
 that is wxPython is available on the system Python by default ...

 I would appreciate to have that alternative. I tried (system-wide) `sudo
 easy_install RunSnakeRun`, but then `runsnake` failed with
 {{{
 Traceback (most recent call last):
   File "/usr/bin/runsnake", line 9, in <module>
     load_entry_point('RunSnakeRun==2.0.4', 'gui_scripts', 'runsnake')()
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in
 load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2333, in
 load_entry_point
     return ep.load()
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2039, in
 load
     entry = __import__(self.module_name, globals(),globals(),
 ['__name__'])
   File "/usr/lib/python2.7/site-
 packages/RunSnakeRun-2.0.4-py2.7.egg/runsnakerun/runsnake.py", line 4, in
 <module>
     import wx, sys, os, logging, traceback
 ImportError: No module named wx
 }}}
 So, `easy_install` apparently did not take care of dependencies. I think I
 met this problem before (I am not sure if I ever managed to install
 runsnake on my laptop). Unfortunately, runsnake seems to be unknown to the
 opensuse distribution. So, I can not simply install it with `yast`, hoping
 that `yast` takes care of dependencies (in contrast to easy_install).

--
Ticket URL: <http://trac.sagemath.org/ticket/14414#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to