Brain Workshop will stop launching after Mac OS Catalina update

1,419 views
Skip to first unread message

lgtout

unread,
Oct 13, 2019, 9:29:04 PM10/13/19
to Dual N-Back, Brain Training & Intelligence
Hi,
The Mac OS Catalina updater warns that Brain Workshop will no longer launch after the update is complete.  
Anyone know if there's a workaround or fix for this?
Thanks.
Julian

Joel S

unread,
Oct 21, 2019, 9:00:42 PM10/21/19
to Dual N-Back, Brain Training & Intelligence
I missed that one...  I get this error after updating to macOS 10.15


and "Learn More" sends me to:

https://support.apple.com/en-us/HT208436


32-bit app compatibility with macOS High Sierra 10.13.4 and later

About the transition to 64-bit technology and how it affects 32-bit apps.

Apple began transitioning to 64-bit hardware and software technology for Mac over a decade ago, and all modern Macs now include powerful 64-bit processors that can run advanced 64-bit apps. These apps can access dramatically more memory, enable faster system performance, and take advantage of technologies that define today's Mac experience, such as Metal graphics acceleration.

Apple has been working with developers to transition their apps, and in 2018 Apple informed them that macOS Mojave would be the last version of macOS to run 32-bit apps. 

Apple's transition to 64-bit technology is now complete. Starting with macOS Catalina, 32-bit apps are no longer compatible with macOS. If you have a 32-bit app, please check with the app developer for a 64-bit version.

Joel S

unread,
Oct 22, 2019, 12:39:19 AM10/22/19
to brain-t...@googlegroups.com
can someone compile the code in 64 bit?  is it harder than that?

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-trainin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brain-training/138a9548-5b1c-453b-8c7c-e3acf3250fc3%40googlegroups.com.

Paul H

unread,
Oct 22, 2019, 3:33:29 AM10/22/19
to brain-t...@googlegroups.com
I believe the Mac version of Brain Workshop consists of the original Python version wrapped in an executable launcher. The launcher portion no longer works in Catalina, but the Python version should still work if the correct packages are installed.

There's a fork of BW that has improvements over the original: https://github.com/samcv/brainworkshop

Something like py2app or pyinstaller could be used to make an updated standalone app that works in Catalina.


lgtout

unread,
Oct 22, 2019, 2:57:12 PM10/22/19
to Dual N-Back, Brain Training & Intelligence
@Joel:  Paul's right.  

The best option post-Catalina is to switch to the version at https://github.com/samcv/brainworkshop.  I've done so, and was able to get that version working on Sierra, but haven't actually upgraded to Catalina yet.  I'll do that today.

Setup to run BW 3.0 (as it's called in the project's readme) was not trivial.  I didn't have a couple of dependencies like Python 3 (which I eventually installed using Homebrew).  Even after updating to Python 3, I was still using the wrong version of Pip.  

Anyway, it runs fine now on Sierra.  Note that the master branch doesn't yet have some fixes that may be required to run BW 3 on Mac.  Those fixes are in an unmerged PR.  If you encounter problems, browse the project's Issues and PRs.  I ended up simply copying and pasting the content of brainworkshop.pyw in PR #16 into my local repo, instead of waiting for the repo owner to accept the PR.

Hope all this helps.  


On Tuesday, October 22, 2019 at 12:33:29 AM UTC-7, Paul wrote:
I believe the Mac version of Brain Workshop consists of the original Python version wrapped in an executable launcher. The launcher portion no longer works in Catalina, but the Python version should still work if the correct packages are installed.

There's a fork of BW that has improvements over the original: https://github.com/samcv/brainworkshop

Something like py2app or pyinstaller could be used to make an updated standalone app that works in Catalina.


On Mon, Oct 21, 2019 at 9:39 PM Joel S <joe...@gmail.com> wrote:
can someone compile the code in 64 bit?  is it harder than that?

On Mon, Oct 21, 2019 at 6:00 PM Joel S <joe...@gmail.com> wrote:
I missed that one...  I get this error after updating to macOS 10.15


and "Learn More" sends me to:

https://support.apple.com/en-us/HT208436


32-bit app compatibility with macOS High Sierra 10.13.4 and later

About the transition to 64-bit technology and how it affects 32-bit apps.

Apple began transitioning to 64-bit hardware and software technology for Mac over a decade ago, and all modern Macs now include powerful 64-bit processors that can run advanced 64-bit apps. These apps can access dramatically more memory, enable faster system performance, and take advantage of technologies that define today's Mac experience, such as Metal graphics acceleration.

Apple has been working with developers to transition their apps, and in 2018 Apple informed them that macOS Mojave would be the last version of macOS to run 32-bit apps. 

Apple's transition to 64-bit technology is now complete. Starting with macOS Catalina, 32-bit apps are no longer compatible with macOS. If you have a 32-bit app, please check with the app developer for a 64-bit version.


On Sunday, October 13, 2019 at 6:29:04 PM UTC-7, lgtout wrote:
Hi,
The Mac OS Catalina updater warns that Brain Workshop will no longer launch after the update is complete.  
Anyone know if there's a workaround or fix for this?
Thanks.
Julian

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-t...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-t...@googlegroups.com.

Joel S

unread,
Oct 22, 2019, 7:18:13 PM10/22/19
to brain-t...@googlegroups.com
You guys are awesome!   I got it running within 30 minutes.  I installed pip and python.  pip using easyinstall:
(in terminal)

sudo easy_install pip


check if pip is installed.

pip --version


then i installed 


pip install --upgrade pyglet --user


not sure if that stuff mattered.

Then I downloaded brainworkshop 5 from the link Paul left (https://github.com/samcv/brainworkshop)



Joels-MacBook-Air:brainworkshop-master joel$ ls -l

total 440

-rw-r--r--@ 1 joel  staff    7783 Oct 22 12:23 Readme-instructions.txt

-rw-r--r--@ 1 joel  staff    2320 Oct 22 12:23 Readme-resources.txt

-rw-r--r--@ 1 joel  staff   18920 Oct 22 12:23 Readme.md

-rw-r-xr-x@ 1 joel  staff  191902 Oct 22 12:23 brainworkshop.pyw

drwxr-xr-x@ 3 joel  staff      96 Oct 22 12:23 data

drwxr-xr-x@ 7 joel  staff     224 Oct 22 12:23 res

drwxr-xr-x@ 3 joel  staff      96 Oct 22 12:23 tools

Joels-MacBook-Air:brainworkshop-master joel$ 


then I made brainworkshop.pyw executable:


chmod +x brainworkshop.pyw


then executed it

./brainworkshop.pyw

works great 

Explained it the best I could without too much into unix commands.
Might be as simple as download the files and chmod +x brainworkshop.pyw then execute brainworkshop.pyw

either way, mine works now


Thank you!


Joel



To unsubscribe from this group and stop receiving emails from it, send an email to brain-trainin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brain-training/afd534aa-24ef-4e0c-ab91-4f459c7230f6%40googlegroups.com.

Jeffery

unread,
Nov 19, 2019, 3:32:45 PM11/19/19
to Dual N-Back, Brain Training & Intelligence
Thank you for the details ! However does this mean I need to run the app from the terminal from now on ?

Joel S

unread,
Nov 19, 2019, 4:46:43 PM11/19/19
to brain-t...@googlegroups.com
I do, but I think it would be easy to make a desktop  icon 

On Tue, Nov 19, 2019 at 1:32 PM Jeffery <durand....@gmail.com> wrote:
Thank you for the details ! However does this mean I need to run the app from the terminal from now on ?

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-trainin...@googlegroups.com.

Joakim

unread,
Mar 31, 2020, 4:27:44 PM3/31/20
to Dual N-Back, Brain Training & Intelligence
Hey Guys!
Sorry to be the total noob asking for help! But here I go..

Iv started doing Dual N-back last year and updated to Catalina on my Mac only to have it not workin; as you know.
Since i found this thread i downloaded Python 3.8.2 which supposedly already have Pip. I then downloaded BW from Pauls guide, and there I'm basically stuck. Opened and looked around but dont really know what i should do. But i want!! The things below that Joel posted iv tried to figure out what it means and what i should do, but my knowledge is just to small. Is there anyone that could give me a more detailed explanation or a pointer to somewhere i could find it. Really liked this Dual N-back the short while i did it daily. And honestly been feeling a bigger interest towards learning Python in recent times also, so could be a great first moment of learning maybe. Any help appreciated!

Vicente

unread,
Apr 2, 2020, 4:04:30 PM4/2/20
to Dual N-Back, Brain Training & Intelligence
Hi,

To run Brain Workshop in Catalina, open a Terminal (Press the "Command" and "Space" keys at the same time to search for it in Mac). Since you have Python 3 and pip installed, type the following:

pip3 install pyglet

Once the pyglet module is successfully installed, navigate to the folder containing the "brainworkshop.pyw" file in your Terminal. You will have to use the Linux "cd" (change directory) command. So if you downloaded the brainworkshop directory into the "Downloads" directory, you can find it like so:

cd Downloads/brainworkshop

Now change the permissions for the "brainworkshop.pyw" file to make it executable. You can do this with the "chmod +x" command:

chmod +x brainworkshop.pyw


Now you can finally run it! Type the following in your Terminal whenever you want to run the program:

python3 /Downloads/brainworkshop/brainworkshop.pyw

Vicente

unread,
Apr 2, 2020, 4:39:03 PM4/2/20
to Dual N-Back, Brain Training & Intelligence
In the future, instead of always typing "python3 /path/to/brainworkshop.pyw," you can just execute the .pyw file with a simple command of your choosing by creating a shell script. For example, I can create a script called "dualnback" and write the following inside:

#!/bin/sh


python3
~/Downloads/brainworkshop/brainworkshop.pyw &>/dev/null

Note: "~/Downloads/brainworkshop/brainworkshop.pyw" should be the path to your brainworkshop.pyw file.

I can then save this file and move it to /usr/local/bin like so (be sure you're in the same directory as the shell script, and be sure to run this as root using the 'sudo' command):

sudo mv dualnback /usr/local/bin

Now, whenever I open my Terminal, I can just type "dualnback" and the application will execute! You can call the shell script anything you want like "brainworkshop" -- just be sure to move it to the /usr/local/bin directory.

Omar

unread,
Jun 2, 2020, 8:18:13 PM6/2/20
to brain-t...@googlegroups.com
Hey, I don't even know how to chmod and excecute the brainworkshop.pyw file.
I have installed python and pyglet.

Could you walk me through how to chmod + x and execute the file?
Message has been deleted

Omar

unread,
Jun 6, 2020, 10:35:51 AM6/6/20
to Dual N-Back, Brain Training & Intelligence
Thanks for that, after I chmod it how can I get the brainworkshop interface to load (where I can actually use the app). 

On Wednesday, June 3, 2020 at 2:25:35 AM UTC+2, Amine Hadbi wrote:
chmod +x ./{exec filename}
./{exec filename}

On Tue., Jun. 2, 2020, 8:18 p.m. Omar, <hardta...@gmail.com> wrote:
Hey, I dont even know how to chmod and excecute the brainworkshop.pwy file.
I have installed python and pyglet.

Could you walk me through how to chmod + x and execute the file?

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-t...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brain-training/d3d57753-eaee-4553-8bed-b87c240dfc5b%40googlegroups.com.
Message has been deleted
Message has been deleted

Omar

unread,
Jun 6, 2020, 9:56:31 PM6/6/20
to Dual N-Back, Brain Training & Intelligence
How do I upgrade python version to install ctypes? Terminal says that I have python 2.7 installed and that this is incompatible with ctypes (3.5 or newer) I already have python 3,8 installed on my mac.

On Sunday, June 7, 2020 at 1:00:21 AM UTC+2, Amine Hadbi wrote:
The 2nd line.

./{exec file name}

Message has been deleted

Omar

unread,
Jun 6, 2020, 10:08:43 PM6/6/20
to Dual N-Back, Brain Training & Intelligence
Writing down: pip install python3 gives me the message that python 2.7 reached the end of its life...Please upgrade your python...
How do I upgrade my python? I already have python 3.8 installed, and when I type python3 --version I get the message that it is indeed python 3.8

On Sunday, June 7, 2020 at 4:01:04 AM UTC+2, Amine Hadbi wrote:
Make sure you have python3-pip installed
Then 
pip3 install pyglet


On Sat., Jun. 6, 2020, 9:47 p.m. Omar, <hardta...@gmail.com> wrote:

Error: unable to load pyglet.  If you already installed pyglet, please ensure ctypes is installed.  Please visit http://pyglet.org

Full text of error:

Traceback (most recent call last):

  File "./brainworkshop.pyw", line 904, in <module>

    import pyglet

ImportError: No module named pyglet


It basically says I don't have a "module" named piglet, I don't know how to get this "module". Could you please help me navigate how to do that, I already visited the website and searched online.


On Sunday, June 7, 2020 at 1:00:21 AM UTC+2, Amine Hadbi wrote:
The 2nd line.

./{exec file name}

On Sat., Jun. 6, 2020, 10:35 a.m. Omar, <hardta...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Dual N-Back, Brain Training & Intelligence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brain-t...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages