# Big Sur macOs - PsychoPy won't run

**URL:** <https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107>\
**Category:** Builder\
**Created:** [November 13, 2020, 2:11pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107 "2020-11-13T14:11:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin\_Burke](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/colin_burke/32/11798_2.png) [@Colin\_Burke](https://discourse.psychopy.org/u/Colin_Burke)\
**Post date:** [November 13, 2020, 2:11pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/1 "2020-11-13T14:11:19Z")

</div>

macOS Big Sur Version 11.0.1 (20B29)  
PsychoPy version 2020 2.5  
Standard Standalone  
**What are you trying to achieve?:**  
Upgraded OS to Big Sur and started testing my currently installed software. PsycoPy 3 didn’t run.  
**What did you try to make it work?:**  
Uninstalled PsychoPy 3. Downloaded and Installed latest version of Standalone PsychoPy, downloaded and installed latest Xcode for OpenGL.  
Dropped copy of /Frameworks/OpenGl from Applications/xcode folder into Library/Systems/Frameworks,  
Still won’t run. I get the following error.

* * *

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/ **init**.py”, line 378, in **getattr**  
AttributeError: ‘NoneType’ object has no attribute ‘\_create\_shadow\_window’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/ **boot**.py”, line 498, in   
File “/Applications/PsychoPy.app/Contents/Resources/ **boot**.py”, line 476, in \_run  
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 104, in   
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 100, in main  
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 28, in start\_app  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/\_psychopyApp.py”, line 226, in **init**  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/\_psychopyApp.py”, line 262, in onInit  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/ **init**.py”, line 7, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 46, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/dialogs/ **init**.py”, line 27, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/validators.py”, line 27, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/window/ **init**.py”, line 1896, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/ **init**.py”, line 384, in **getattr**  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/ **init**.py”, line 100, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/lib.py”, line 141, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/lib\_agl.py”, line 49, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/lib.py”, line 118, in load\_library  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/lib.py”, line 286, in load\_framework  
ImportError: Can’t find framework /System/Library/Frameworks/OpenGL.framework.

* * *

---

<div class="post-metadata">

**Author:** ![ivobivo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/ivobivo/32/12811_2.png) [@ivobivo](https://discourse.psychopy.org/u/ivobivo)\
**Post date:** [November 13, 2020, 4:29pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/2 "2020-11-13T16:29:17Z")

</div>

I made a thread about it some hours ago. If I understood correctly, no real fix as of yet. Even with the fix provided in the sticky thread, it is not really completely fixed. So I’ll be reverting back to catalina.

> [@Psychopy on Big Sur on mac](https://discourse.psychopy.org/t/psychopy-on-big-sur-on-mac/18095):
>
> Does the latest version of psychopy work with the updated mac os Big Sur? Mine seems to be crashing at startup and haven’t been able to launch any of my scripts.

> [@Release 2020.2.3 fixing launch issues for macOS Catalina/Mojave](https://discourse.psychopy.org/t/release-2020-2-3-fixing-launch-issues-for-macos-catalina-mojave/15886):
>
> Hi folks, I’ve spent most of this week battling with Apple’s “Gatekeeper”. This used to be a relatively minor annoyance - it used to complain that we weren’t a known developer so you’d have to agree to the app running. Then in Catalina it got worse and the app would appear to start but then crash with no information (but it was actually the Gatekeeper jus tbeing more annoying). Well, happily after a week of battling I believe we won!! PsychoPy 2020.2.3 is now fully signed by us at Open Science…

---

<div class="post-metadata">

**Author:** ![lharvey](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lharvey](https://discourse.psychopy.org/u/lharvey)\
**Post date:** [November 13, 2020, 8:22pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/3 "2020-11-13T20:22:31Z")

</div>

I get exactly the same error on launch 2020.2.5, and 2020.2.6 (not finding OpenGL.Framework) even though it is installed in the right place in Big Sur! I note that there is a period after the OpenGL.Framework (“OpenGL.Framework.”) in the error message but since PsychoPy launched just fine under Catalina, I guess that can’t be the problem. Bummer. I hope it gets resolved quickly. I’m teach a lab class right now that depends on PsychoPy 2020.2.5 or later and some students have already upgraded to Big Sur.

---

<div class="post-metadata">

**Author:** ![sotiri](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@sotiri](https://discourse.psychopy.org/u/sotiri)\
**Post date:** [November 13, 2020, 8:30pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/4 "2020-11-13T20:30:38Z")

</div>

@lharvey many thanks for flagging, sounds like a bug on our end, please allow us some time to address the issue, s.

---

<div class="post-metadata">

**Author:** ![darkoodic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/darkoodic/32/9172_2.png) [@darkoodic](https://discourse.psychopy.org/u/darkoodic)\
**Post date:** [November 13, 2020, 9:00pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/5 "2020-11-13T21:00:19Z")

</div>

In case it helps: the piglet key fix referenced in the sticky by @ivobivo allows v2020.2.6 to run on Big Sur, but running any code throws the following error:

```auto
dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  Referenced from: /Applications/PsychoPy.app/Contents/MacOS/python
  Reason: image not found
##### Experiment ended. #####

```

XCode 12 doesn’t fix it, nor do a few other solutions that were proposed in the past for a similar error. So I think we just need to wait until we hear more from the dev team.

---

<div class="post-metadata">

**Author:** ![sotiri](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@sotiri](https://discourse.psychopy.org/u/sotiri)\
**Post date:** [November 13, 2020, 9:03pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/6 "2020-11-13T21:03:35Z")

</div>

OK that helps a lot, many thanks, s.

---

<div class="post-metadata">

**Author:** ![lharvey](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lharvey](https://discourse.psychopy.org/u/lharvey)\
**Post date:** [November 14, 2020, 2:22am UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/7 "2020-11-14T02:22:33Z")

</div>

Thanks for the quick reply. I’m “glad” it’s not just me!

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [November 18, 2020, 7:49pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/8 "2020-11-18T19:49:35Z")

</div>

Let’s just handle the discussion of this on the other thread

> [@Psychopy on Big Sur on mac](https://discourse.psychopy.org/t/psychopy-on-big-sur-on-mac/18095):
>
> Does the latest version of psychopy work with the updated mac os Big Sur? Mine seems to be crashing at startup and haven’t been able to launch any of my scripts.

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [November 18, 2020, 7:49pm UTC](https://discourse.psychopy.org/t/big-sur-macos-psychopy-wont-run/18107/9 "2020-11-18T19:49:44Z")

</div>


