Print

Print


If it's possible for you to upgrade to FSL 5.0.11 that's probably the best solution - this will come with Python 3 and the dependencies you need for the ASL GUI. 


Alternatively, a suggested workaround I found for the same issue in another package was:


pip uninstall Pypubsub
pip install -Iv https://pypi.python.org/packages/95/5a/1801be1a63af9250e79b8941a37b88e3ca0d660b880b9862fe9016ae6a3a/PyPubSub-3.3.0.zip

This downgrades the Pypubsub package to a version which does support Python 2. You may need to use sudo with these commands.


Hope this helps,

Martin



From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of De Blasi, Bianca <[log in to unmask]>
Sent: 10 July 2018 12:43:27
To: [log in to unmask]
Subject: Re: [FSL] BASIL new release
 

Hi Martin,


thank you for this. I do not seem to find fslpython in my FSLDIR. So, I guess I will need to install python3 to sort out this issue.


Thank you very much,

Best wishes,

Bianca


From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Martin Craig <[log in to unmask]>
Sent: 10 July 2018 12:25:31
To: [log in to unmask]
Subject: Re: [FSL] BASIL new release
 

This sounds like a Python version issue - you are using Python 2.7 but one of the packages you have installed only supports Python 3. 


Does your FSL installation include fslpython? If so you can switch to this version using


source $FSLDIR/fslpython/bin/activate fslpython


fslpython is in FSL 5.0.10, but I'm not sure about 5.0.9


Cheers,

Martin



From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Bianca De Blasi <[log in to unmask]>
Sent: 10 July 2018 10:23:08
To: [log in to unmask]
Subject: [FSL] BASIL new release
 
Dear FSL experts,

I have dowloaded the new BASIL release but I am getting an error when launching asl_gui. My FSL version is 5.0.9 and I have downloaded all the required packages (wxpython, matplotlib, numpy and nibble). However, when I try to launch all_gui from the folder of the new release, I got the following error:

$/Volumes/Seagate/ASL_TEST/oxford_asl/asl_gui
Traceback (most recent call last):
  File "/Volumes/Seagate/ASL_TEST/oxford_asl/asl_gui", line 12, in <module>
    from asl.gui import main
  File "/Volumes/Seagate/ASL_TEST/oxford_asl/python/asl/gui/__init__.py", line 32, in <module>
    from .run_box import AslRun
  File "/Volumes/Seagate/ASL_TEST/oxford_asl/python/asl/gui/run_box.py", line 13, in <module>
    from wx.lib.pubsub import pub
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py", line 38, in <module>
    from pubsub import *
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pubsub/pub.py", line 146
    def getDefaultPublisher() -> Publisher:
                              ^
SyntaxError: invalid syntax

Could you please advice on how to sort this out?

Thank you very much in advance,
Kind regards,
Bianca

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

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



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