Please run with a Framework build of python, and only when you are logged in on the main display of your Mac." That lead me to this wiki wxPythonVirtualenvOnMac - wxPyWiki and other stackoverflow pages indicating If you are getting the error that "This program needs access to the screen.
Please run with a Frameworkīuild of python, and only when you are logged in on the main display I got this error This program needs access to the screen. The issue was with wx and the need for a frameworkĪpp = wx.App(False) # Create a new app, don't redirect stdout/stderr to a window.įrame = wx.Frame(None, wx.ID_ANY, "Hello World") # A Frame is a top-level window.
Install python enabling framework and then do the rest of the installation as defined PYTHON_CONFIGURE_OPTS="-enable-framework" pyenv install 3.6.8 12933 abort python psychopy/app/psychopyApp.py Libc++abi: terminating with uncaught exception of type NSException 12:03:46.927 python -: unrecognized selector sent to instance 0x7fad2dcc8560
PTB-INFO: Using modified PortAudio V19.6.0-devel, revision unknown I get this error without any splash screen or anything (venv) psychopy % python psychopy/app/psychopyApp.py When I run the app using python psychopy/app/psychopyApp.py I set up python version and install the dependencies as follows pyenv global 3.6.8 I have installed psychopy using brew and had no problems with it.īut I am unable to run psycopy from code. I can confirm the standalone version works on Big Sur.
I followed the same process on a Mac Catalina with the same result. I have read the troubleshooting pages and searched for similar errors and recommendations online, but I did not find a solution to my problem. I have cloned the repo and tried to run it from source on a Mac Big Sur without sucess.