#11287: Interface to runsnake and import_statements
------------------------------------------+---------------------------------
   Reporter:  nthiery                     |          Owner:  tbd                
              
       Type:  enhancement                 |         Status:  needs_work         
              
   Priority:  major                       |      Milestone:  sage-4.7.1         
              
  Component:  performance                 |       Keywords:  runsnake, prun, 
profiling, days30
Work_issues:                              |       Upstream:  N/A                
              
   Reviewer:  Franco Saliola, Simon King  |         Author:  Nicolas M. ThiƩry  
              
     Merged:                              |   Dependencies:                     
              
------------------------------------------+---------------------------------

Comment(by nthiery):

 Replying to [comment:17 SimonKing]:
 > PS: If I leave sage, but remain in a sage shell, and try `runsnake
 OpenGLContext.profile` then the error says `ImportError: No module named
 wx`. So, apparently the problem is that I really need to install wxpython
 inside a Sage shell, but I can't since the Sage shell can not find stuff
 that is known to the rest of the world. End of the story. I have a lecture
 to prepare.

 The problem is that the Sage shell sets PYTHONPATH and PYTHONLIB. You may
 try to work around this by using

 {{{
      python -E runsnake ...
 }}}

 which tells Python to ignore those variables. The runsnake command inside
 Sage does just that, for precisely that reason.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11287#comment:22>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to