#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 nbruin):

 Replying to [comment:15 SimonKing]:
 > 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.
 If you google "suse runsnake" you'll get RPM hits, so at least third
 parties have packaged it for opensuse. I wouldn't go and install random
 rpms from the web, but for instance
 
[http://rpm.pbone.net/index.php3/stat/4/idpl/21440304/dir/opensuse_12.x/com/RunSnakeRun-2.0.2b1-6.2.noarch.rpm.html
 this page] lists the requirements of the rpm. With a bit of luck THOSE can
 be satisfied by yast (the main one probably being python-wxWidgets) so
 that from that point your easily installed runsnake might work.

 Packaging a runsnake for sage's python would involve recompiling sage's
 python with wx support. That sounds painful.

--
Ticket URL: <http://trac.sagemath.org/ticket/14414#comment:16>
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