Hi there,
I am also getting errors on OSX 10.11.5:
melview
Traceback (most recent call last):
File "/opt/local/bin/melview", line 9, in <module>
load_entry_point('melview==1.0.1', 'console_scripts', 'melview')()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/melview/melodic_traits.py", line 42, in <module>
from pyface.api import FileDialog, OK, confirm, error, YES
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/api.py", line 34, in <module>
from .python_editor import PythonEditor
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/python_editor.py", line 21, in <module>
PythonEditor = toolkit_object('python_editor:PythonEditor')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/toolkit.py", line 129, in toolkit_object
__import__(be_mname)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/python_editor.py", line 27, in <module>
from pyface.ui.qt4.code_editor.code_widget import AdvancedCodeWidget
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/code_editor/code_widget.py", line 23, in
<module>
from .pygments_highlighter import PygmentsHighlighter
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/code_editor/pygments_highlighter.py", line 14,
in <module>
from pygments.lexer import RegexLexer, _TokenType, Text, Error
ImportError: No module named pygments.lexer
Any thoughts?
Cheers,
Andreas
Von: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of
Finn Lennartsson <[log in to unmask]>
Antworten an: FSL - FMRIB's Software Library <[log in to unmask]>
Datum: Freitag, 15. Juli 2016 um 16:41
An: <[log in to unmask]>
Betreff: Re: [FSL] Melview
I bump this.
Have the same problems when trying to run melview. I am running Ubuntu
16.04 and I have installed melview via neurodebian.
Traceback (most recent call last):
File "/usr/bin/melview", line 9, in <module>
load_entry_point('melview==1.0.1', 'console_scripts', 'melview')()
File "/usr/lib/python2.7/dist-packages/melview/melodic_traits.py", line
879, in main
m.configure_traits()
File "/usr/lib/python2.7/dist-packages/traits/has_traits.py", line 2156,
in configure_traits
kind, handler, id, scrollable, args )
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/toolkit.py", line
212, in view_application
id, scrollable, args )
File
"/usr/lib/python2.7/dist-packages/traitsui/qt4/view_application.py", line
83, in view_application
scrollable, args ).ui.result
File
"/usr/lib/python2.7/dist-packages/traitsui/qt4/view_application.py", line
134, in __init__
args = self.args )
File "/usr/lib/python2.7/dist-packages/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/usr/lib/python2.7/dist-packages/traitsui/ui.py", line 221, in ui
self.rebuild( self, parent )
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/toolkit.py", line
154, in ui_live
ui_live.ui_live( ui, parent )
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_live.py", line
39, in ui_live
_ui_dialog(ui, parent, BaseDialog.NONMODAL)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_live.py", line
59, in _ui_dialog
BaseDialog.display_ui(ui, parent, style)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_base.py", line
445, in display_ui
ui.owner.init(ui, parent, style)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_live.py", line
177, in init
self.add_contents(panel(ui), bbox)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
237, in panel
_fill_panel(panel, content, ui)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
270, in _fill_panel
gp = _GroupPanel(item, ui, suppress_label=True)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
570, in __init__
layout = self._add_groups(content, inner)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
649, in _add_groups
panel = _GroupPanel(subgroup, self.ui).control
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
524, in __init__
self._add_splitter_items(content, splitter)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
603, in _add_splitter_items
panel = _GroupPanel(item, self.ui, suppress_label=True).control
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
524, in __init__
self._add_splitter_items(content, splitter)
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
605, in _add_splitter_items
panel = self._add_items([item])
File "/usr/lib/python2.7/dist-packages/traitsui/qt4/ui_panel.py", line
840, in _add_items
editor.prepare(inner)
File "/usr/lib/python2.7/dist-packages/traitsui/editor.py", line 156, in
prepare
self.init( parent )
File "/usr/lib/python2.7/dist-packages/melview/melodic_traits.py", line
98, in init
self.control = self._create_canvas(parent)
File "/usr/lib/python2.7/dist-packages/melview/melodic_traits.py", line
126, in _create_canvas
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg
as _NavigationToolbar
ImportError: cannot import name NavigationToolbar2QTAgg
Any advice appreciated!!
Thanks
Finn
On 8 March 2016 at 20:12, SKH <[log in to unmask]> wrote:
Hi FSL experts,
I want install of melview on may OSX system.
After a long time the installation seemed to end without error message.
When I try to open melviexw, I got this error message:
Traceback (most recent call last):
File "/opt/local/bin/melview", line 9, in <module>
load_entry_point('melview==1.0.1', 'console_scripts', 'melview')()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 568, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point
return ep.load()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2380, in load
return self.resolve()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pkg_resources/__init__.py", line 2386, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/melview/melodic_traits.py", line 42, in <module>
from pyface.api import FileDialog, OK, confirm, error, YES
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/api.py", line 34, in <module>
from .python_editor import PythonEditor
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/python_editor.py", line 21, in <module>
PythonEditor = toolkit_object('python_editor:PythonEditor')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/toolkit.py", line 103, in toolkit_object
__import__(be_mname)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/python_editor.py", line 27, in <module>
from pyface.ui.qt4.code_editor.code_widget import AdvancedCodeWidget
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/code_editor/code_widget.py", line 23, in
<module>
from .pygments_highlighter import PygmentsHighlighter
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/pyface/ui/qt4/code_editor/pygments_highlighter.py", line 14,
in <module>
from pygments.lexer import RegexLexer, _TokenType, Text, Error
ImportError: No module named pygments.lexer
Thank you in advance for any help and your time,
--
_______________________________
Finn Lennartsson
83A Portland Road
Hove, BN3 5DP, United Kingdom
Cell: + 46 704 838907
E-mail: [log in to unmask]
|