On Wednesday, January 6, 2016 at 3:08:11 PM UTC-2, Jon Frey wrote: > > Problem with config file "missing" in Ipython > > System: Intel 64 bit /Fedora 23 Scientific flavor /KDE (latest updates > auto installed ) > Sage Version 6.5, Release Date: 2015-02-17 > Note1 : Other packages installed previously installed include Jupyter and > Spyder > Note 2 :Jupyter , Spyder load (but not checked for functionality) > > Versions loaded ( per console ) > Python 2.7.10 (default, Sep 8 2015, 17:20:17) > IPython 4.0.1 -- An enhanced Interactive Python. > > > > Sage was down loaded Sage from Fedora package repository as root with *"dnf > install sagemath" * > No errors posted on install.( It was very large unpacked ) > > Icon loaded in work space but fails to launch application ( console screen > disappears after briefly displaying) > > Launching from console as > sage > sage -ipython > sage -notebook=ipython > > All fail with error > > *Console Error* > Traceback (most recent call last): > File "/usr/lib64/sagemath/local/bin/sage-ipython", line 6, in <module> > from sage.repl.interpreter import SageTerminalApp > File "/usr/lib64/python2.7/site-packages/sage/repl/interpreter.py", line > 105, in <module> > from IPython import Config > ImportError: cannot import name Config > > > Launching from console as -sage -notebook=sagenb does function and brings > up > > *Error message from Sage notebook * > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in > full_dispatch_request > rv = self.dispatch_request() > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in > dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/usr/lib64/sagemath/src/sagenb/flask_version/decorators.py", line > 22, in wrapper > return f(*args, **kwds) > File > "/usr/lib64/sagemath/src/sagenb/flask_version/worksheet_listing.py", line > 335, in upload_worksheet > from sage.misc.all import tmp_filename, tmp_dir > File "/usr/lib64/python2.7/site-packages/sage/misc/all.py", line 67, in > <module> > from log import log_html, log_dvi, log_text > File "/usr/lib64/python2.7/site-packages/sage/misc/log.py", line 64, in > <module> > import sage.repl.interpreter as interpreter > File "/usr/lib64/python2.7/site-packages/sage/repl/interpreter.py", line > 105, in <module> > from IPython import Config > ImportError: cannot import name Config > > So I am assuming a file directory conflict with previously installed > Ipython and version packaged with the rpm at Fedora > > I need a simple fix and don't want to attempt to reconcile( or break) the > other software installation > > > Do you have ipython or something else in /usr/local, or somewhere else before in $PATH?
I confess I did not see this issue before, but I have basically only binaries from rpm packages installed in my computer. I also usually have latest sagemath installed in my home directory, to make some comparisons/tests with the rpm package. -- You received this message because you are subscribed to the Google Groups "sage-support" 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 https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
