You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting psychopyApp.py it immediately exits with no error message. The problem seem to be the permission on the ~/.psychopy2 directory. Installation with root on Ubuntu makes it owned by root. When changing the owner and group of the directory psychopyApp.py starts up.
psychopyApp should have a better error message in this case.
This was for the present pip version.
The text was updated successfully, but these errors were encountered:
I agree there should be a better error message, should be easy to add although might not be easy to get that error message back out to the user if the app exits immediately.
Just trying to understand what happened in your case: Did "installation as root" really create the ~/.psychopy2 directory? Here ~ should be root, yes? And if ~ is not root, I'm surprised that it knows which regular user is intended when installing as root.
Yes, please open a new issue and link to this one. Your shell output is useful. The bug is related to the fact that os.path.expanduser('~') is always the regular user, not root when using sudo. Should be easy to fix.