| Reference | Downloads | Github

Cannot create a new .py file in PsychoPy Coder (v2021.1.4): Invalid Menu Item

Hello everyone,

I am running PsychoPy for the first time and am trying to open up a new .py file on PsychoPyCoder.
However, I am running into this error as soon as I try to paste any code into the new file.

I am running Ubuntu 20.04.2 LTS, 64-bit.
I have Python 3.8.5 and followed the instructions to install PyschoPy on my machine with using these recommendations because I was awfully lost on how to install it. So, I probably have a messy installation since I did so many things until I was able to see the splashscreen on my system after typing ‘psychopy’ on my terminal.

This is the error message I get:

Traceback (most recent call last):
File “/home/ponir-pc/.local/lib/python3.8/site-packages/psychopy/app/coder/”, line 124, in OnContextMenu
wx._core.wxAssertionError: C++ assertion ““m_menuItem”” failed at /home/wxpy/wxPython-4.1.0/ext/wxWidgets/src/gtk/menu.cpp(717) in Enable(): invalid menu item

Thank you very much for the support.