I've never seen that. Just to point out the obvious, you don't have a coredump "core" file lying around in cwd or the ipython tree? That might mess up the "from core import"..
On Friday, May 8, 2015 at 11:48:36 PM UTC+2, William wrote: > > Hi, > > Why is this happening? > > 1. I build sage. > > 2. I make a binary. > > 3. I extract the binary on an identical machine and start it and get > "ImportError: No module named core.getipython". > > 4. Doing ./sage -f ipython fixes the problem. > > I've seen this issue in all kinds of places lately. What is ipython > messing up? > > ~$ cd sage-6.7.beta4/ > ~/sage-6.7.beta4$ ./sage > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath Version 6.7.beta4, Release Date: 2015-05-05 │ > │ Type "notebook()" for the browser-based notebook interface. │ > │ Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > Traceback (most recent call last): > File > "/projects/612668ee-534c-456b-a5e8-81078cffd9c6/sage-6.7.beta4/src/bin/sage-ipython", > > > line 7, in <module> > from sage.repl.interpreter import SageTerminalApp > File > "/projects/612668ee-534c-456b-a5e8-81078cffd9c6/sage-6.7.beta4/local/lib/python2.7/site-packages/sage/__init__.py", > > > line 3, in <mod > ule> > from sage.repl.ipython_extension import load_ipython_extension > File > "/projects/612668ee-534c-456b-a5e8-81078cffd9c6/sage-6.7.beta4/local/lib/python2.7/site-packages/sage/repl/ipython_extension.py", > > > l > ine 59, in <module> > from IPython.core.magic import Magics, magics_class, line_magic > File > "/projects/612668ee-534c-456b-a5e8-81078cffd9c6/sage-6.7.beta4/local/lib/python2.7/site-packages/IPython/__init__.py", > > > line 46, in > <module> > from .core.getipython import get_ipython > ImportError: No module named core.getipython > ~/sage-6.7.beta4$ ./sage -f ipython > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.