Print

Print


Hi Danielle,


The easiest way is to activate the fslpython environment first, assuming you have a fairly recent version of FSL:


source $FSLDIR/fslpython/bin/activate fslpython


Then try running the asl_gui script.


The error you're getting is to do with matplotlib interfacing correctly to wxpython - I'm not sure if the problem is in matplotlib or wx, but either way it should work within fslpython.


Let me know how you get on with this,

Martin


________________________________
From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Danielle Miller <[log in to unmask]>
Sent: 01 March 2019 17:22:00
To: [log in to unmask]
Subject: [FSL] BASIL issue

Hi,

I am trying to get the github release of the BASIL ASL software package to work. However, I keep running into the below error. I have downloaded all of the packages in parallel including matplotlib, numpy, nibabel, and wx python. Any solution this error?

Traceback (most recent call last):
  File "oxford_asl/asl_gui", line 12, in <module>
    from asl.gui import main
  File "/share/VA_Imaging/Projects/salat/2389_TRT/dmiller/ASL/oxford_asl/python/asl/gui/__init__.py", line 25, in <module>
    from .analysis_tab import AslAnalysis
  File "/share/VA_Imaging/Projects/salat/2389_TRT/dmiller/ASL/oxford_asl/python/asl/gui/analysis_tab.py", line 4, in <module>
    from .widgets import TabPage
  File "/share/VA_Imaging/Projects/salat/2389_TRT/dmiller/ASL/oxford_asl/python/asl/gui/widgets.py", line 10, in <module>
    from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
ImportError: No module named backend_wxagg

########################################################################

To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1

########################################################################

To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1