forsalekeron.blogg.se

Install psychopy
Install psychopy










install psychopy
  1. #INSTALL PSYCHOPY HOW TO#
  2. #INSTALL PSYCHOPY .EXE#
  3. #INSTALL PSYCHOPY INSTALL#
  4. #INSTALL PSYCHOPY CODE#

│ │ ├── week_1 # Jupyter notebook tutorials │ ├── solutions # Tutorials WITH solutions Open a terminal (or Anaconda prompt if you are on Windows), navigate to the root of the materials folder, and run the following:

install psychopy

Assuming you have downloaded the material (check the section Downloading the material below), there should be a file with the name psychopy-env.yml in the root of the downloaded folder.

#INSTALL PSYCHOPY INSTALL#

There are several ways to install the psychopy package, but (assuming you installed Python through Anaconda) the easiest way is probably through conda (the Anaconda package manager).

#INSTALL PSYCHOPY CODE#

This means that this installation of PsychoPy does not include the Builder functionality nor the PsychoPy Code editor. The psychopy Python package contains all the functionality you need to run PsychoPy experiments in “script mode”, i.e., writing your experiment as a Python script (e.g., my_experiment.py) and running it on the command line (e.g., python my_experiment.py). This is only recommended if you are experienced with managing Python environments and running things on the command line in general. If you have a working version of Python already, you can also work with PsychoPy by installing the psychopy Python package. Your screen should turn black and start the experiment! In the menu, click Demos → Unpack demos, and select a location to unpack the demo experiment files Ĭlick on Demos again and then on stroop, which should open stroop.psyexp in the PsychoPy Builder Ĭlick on the green “play” button ( run experiment) Īfter a couple of seconds, you should see a pop-up prompting for a “session” and “participant number” įill in some number (e.g., 01) and click on Ok to start the experiment Make sure you are in the PsychoPy Builder window Start PsychoPy (this should open three windows) To test whether the standalone PsychoPy installation was successful and everything works as expected do the following:

#INSTALL PSYCHOPY .EXE#

exe file (currently, StandalonePsychoP圓-2020.2.10-win64.exe). Instead, click on the link PsychoPy releases on github and download the latest. Don’t do this (because it doesn’t include the Builder interface). You can ignore the rest of the files (which have to do with configuration and the contents of this website).įor some (?) Windows users, the PsychoPy website states “To install PsychoPy on Windows we recommend installing PsychoPy through pip”. The solutions folder contains the same material, but with solutions to the exercises in the tutorials. The course material is stored in the tutorials folder.

install psychopy install psychopy

In the online environment, you’ll see a lot of files. Note that the “rocket” button is only available for actual tutorials. This will launch an online environment in which you can interactively run the material. To start the tutorials as interactive notebooks, click on the “rocket” button on the top right and choose JupyterHub (UvA students only) or Binder (anyone). The tutorials of week 1 are embedded on this website as well (i.e., the pages on the left with the (T)), but these are not interactive, i.e., you cannot add, edit, or run the code. Note that you must be connected to UvA VPN to be able to access the UvA server. Note that our own Jupyterhub instance is only accessible to students from the Research Master Psychology who are enrolled in the “Programming for Psychology” course. Alternatively, you may use Binder, which is a service that provides an online Python environment with the course’s materials.

#INSTALL PSYCHOPY HOW TO#

The course’s Canvas page outlines how to access the server. For students of the Research Master Psychology, we have set up an external server with Python (through Jupyterhub, which is explained here) which can be used to do the tutorials of week 1 so no need to download Python yourself.












Install psychopy