P圜harm has a free 1-month trial, but feel free to follow along with your P圜harm Community Edition if you prefer. It is a pity that using PsychoPy with P圜harm is such a nuisance on macOS.Let’s find and download P圜harm Professional Edition which we’ll be using in this series. (5) Create P圜harm project and select conda environment. (4) Install PsychoPy 2023.2.2 via pip to the environment created in (2). (3) Install package tables (3.8.0) via Anaconda (2) Create environment with Python 3.8.18 Most of PsychoPy works with some exception (e.g., psychtoolbox), but this is a huge upgrade to my workflow. Finally, I created a P圜harm project and selected the conda environment as interpreter. However, I first got an error with the package tables, but installing version 3.8.0 of tables via Anaconda before running pip install psychopy solved the problem. Installing the available version of PsychoPy with Anaconda (i.e., 2022.2.5) failed, but installing 2023.2.2 with pip via Anaconda ultimately worked. I created an environment using Python 3.8.18 and installed P圜harm via Anaconda. I installed Anaconda first from the website. However, the solution involved the Anaconda platform ( ) as I could not find a way to use the standalone. I just made it work on a MacBook Pro (Apple M1, Ventura 13.5.2 and P圜harm 23.2.1, Community Edition). P圜harm’s documentation is also grossly I know you use P圜harm, what am I missing? It gives me an error message about needing to run with sudo -H, which I can’t do from P圜harm. I also can’t install PsychoPy as a package into its default python environment, which would seem to be the logical alternative. This also occurs if I try to get it to “Install packaging tools”, which it wants to do when you select the thing. import preferences as prefsLib File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/psychopy/preferences/preferences.py", line 6, in from builtins import object File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/builtins/_init_.py", line 8, in from future.builtins import * File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/future/builtins/_init_.py", line 10, in from import (filter, map, zip) File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/future/builtins/iterators.py", line 38, in from future import utils File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/future/utils/_init_.py", line 54, in import copy File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/copy.py", line 52, in import weakref File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/weakref.py", line 14, in from _weakref import ( ImportError: cannot import name _remove_dead_weakref I know the correct interpreter (/Applications/PsychoPy2.app/Contents/MacOS/python), but anytime I try to do anything with it I get:įrom psychopy import visual, event, core, data, gui, monitors, tools, sound File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/psychopy/_init_.py", line 43, in from psychopy.preferences import prefs File "/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/psychopy/preferences/_init_.py", line 13, in from. I feel very stupid but I can’t get P圜harm to run a PsychoPy script for anything, and every time I try to load the interpreter in P圜harm it throws a fit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |