[MacPorts] #48685: Upgrading to ipython 4.0.0 breakes spyder

MacPorts noreply at macports.org
Mon Aug 24 10:38:08 PDT 2015


#48685: Upgrading to ipython 4.0.0 breakes spyder
-------------------------+------------------------
  Reporter:  vs-never@…  |      Owner:  eborisch@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  py-spyder   |
-------------------------+------------------------
Description changed by mf2k@…:

Old description:

> After upgrading py27-ipython to version 4.0.0 spyder IDE fails to launch
> with the following crash report:
>
> Traceback (most recent call last):
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/spyder.py", line 2367, in main
>     mainwindow = run_spyder(app, options, args)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/spyder.py", line 2255, in run_spyder
>     main.setup()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/spyder.py", line 801, in setup
>     from spyderlib.plugins.inspector import ObjectInspector
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/plugins/inspector.py", line 41, in <module>
>     from spyderlib.widgets.ipython import IPythonControlWidget
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/widgets/ipython.py", line 27, in <module>
>     pygments_patch.apply()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/pygments_patch.py", line 27, in apply
>     from IPython.frontend.qt.console.pygments_highlighter import
> RegexLexer
> ImportError: No module named pygments_highlighter
>
> It seems that the problem is known by spyder developers,
> https://github.com/spyder-ide/spyder/issues/2608, and solved in version
> 2.3.6.

New description:

 After upgrading py27-ipython to version 4.0.0 spyder IDE fails to launch
 with the following crash report:

 {{{
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/spyder.py", line 2367, in main
     mainwindow = run_spyder(app, options, args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/spyder.py", line 2255, in run_spyder
     main.setup()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/spyder.py", line 801, in setup
     from spyderlib.plugins.inspector import ObjectInspector
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/plugins/inspector.py", line 41, in <module>
     from spyderlib.widgets.ipython import IPythonControlWidget
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/widgets/ipython.py", line 27, in <module>
     pygments_patch.apply()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/pygments_patch.py", line 27, in apply
     from IPython.frontend.qt.console.pygments_highlighter import
 RegexLexer
 ImportError: No module named pygments_highlighter
 }}}

 It seems that the problem is known by spyder developers,
 https://github.com/spyder-ide/spyder/issues/2608, and solved in version
 2.3.6.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/48685#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list