#10176: ImportError: No module named sagenb on openSUSE
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  jason, was
       Type:  defect    |      Status:  needs_info
   Priority:  blocker   |   Milestone:  sage-4.6  
  Component:  notebook  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by leif):

 To brute-force-fix your problem without knowing the real cause, we could
 just add:
 {{{
 #!sh
 # Dave says Solaris' non-POSIX grep in the default path
 # doesn't understand "-q" (which *is* POSIX):

 if ! grep sagenb easy-install.pth >/dev/null; then
     echo 'No sagenb path found in easy-install.pth!'
     echo "Adding relative sagenb path to easy-install.pth"
     # Anyone recalling the correct syntax for *sed*?
     ed easy-install.pth >/dev/null <<EOF
 $i
 ../../../../devel/sagenb
 .
 wq
 EOF
 fi
 }}}

 Opinions?

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