psychopy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
psychopy: command not found
or when using sudo you get the following error message
sudo: psychopy: command not found
Solutions to psychopy: command not found
How To Fix psychopy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu psychopy is provided by psychopy package.
psychopy is:
PsychoPy provides an environment for creating psychology stimuli using Python scripting language. It combines the graphical strengths of OpenGL with easy Python syntax to give psychophysics a free and simple stimulus presentation and control package.
The goal is to provide, for the busy scientist, tools to control timing and windowing and a simple set of pre-packaged stimuli and methods. PsychoPy features
- IDE GUI for coding in a powerful scripting language (Python)
- Builder GUI for rapid development of stimulation sequences
- Use of hardware-accelerated graphics (OpenGL)
- Integration with Spectrascan PR650 for easy monitor calibration
- Simple routines for staircase and constant stimuli experimental methods as well as curve-fitting and bootstrapping
- Simple (or complex) GUIs via wxPython
- Easy interfaces to joysticks, mice, sound cards etc. via PyGame
- Video playback (MPG, DivX, AVI, QuickTime, etc.) as stimuli
To fix this problem, we can install more using the command below.
sudo apt-get -y install psychopy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install psychopy.
sudo apt -y install psychopy
Or if you have aptitude installed you can use the following command.
sudo aptitude install psychopy
Summary
In this tutorial we learn how to fix psychopy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.