Psychopy/Installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m E.vandenberge moved page Psychopy installation to Psychopy/Installation |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 51: | Line 51: | ||
# (skip this step if you have Python 3.7 32 bit installed already and you want to keep it) Install the newest 32 bit version of Python 3.7. You can download it [https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz here]. If that does not work, go [https://www.python.org/downloads/ here] and choose the 32 bit installer. During installation choose 'add python.exe to path'. | # (skip this step if you have Python 3.7 32 bit installed already and you want to keep it) Install the newest 32 bit version of Python 3.7. You can download it [https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz here]. If that does not work, go [https://www.python.org/downloads/ here] and choose the 32 bit installer. During installation choose 'add python.exe to path'. | ||
# Download this [https://www.socsci.ru.nl/wilberth/nocms/python/DEPS3.txt file] (right-click -> save link as...) with all other requirements. Ope a command window with administrative privileges and to go to the folder where you downloaded it. From the command line type: <br /><tt>pip install -r DEPS3.txt</tt><br /> Enjoy watching, and see if there are any errors. | # Download this [https://www.socsci.ru.nl/wilberth/nocms/python/DEPS3.txt file] (right-click -> save link as...) with all other requirements. Ope a command window with administrative privileges and to go to the folder where you downloaded it. From the command line type: <br /><tt>pip install -r DEPS3.txt</tt><br /> Enjoy watching, and see if there are any errors. | ||
I thank [http://www.lfd.uci.edu/~gohlke/pythonlibs/ Christoph Gohlke] for compiling the individual packages. If you want to use 64 bit Python 3.7, use this [https://www.socsci.ru.nl/wilberth/nocms/python/ | I thank [http://www.lfd.uci.edu/~gohlke/pythonlibs/ Christoph Gohlke] for compiling the individual packages. If you want to use 64 bit Python 3.7, use this [https://www.socsci.ru.nl/wilberth/nocms/python/DEPS3_64.txt dependency file]. | ||
=Installing Python 2 and Psychopy 2, Linux= | =Installing Python 2 and Psychopy 2, Linux= | ||
| Line 63: | Line 62: | ||
=Installing Python 3 and Psychopy 3, Linux= | =Installing Python 3 and Psychopy 3, Linux= | ||
In ''Ubuntu | In ''Ubuntu 20.04 Focal Fossa'' (and probably in other ubuntu versions too) type: | ||
<pre> | <pre> | ||
sudo apt install python3 python3-pip python3-scipy python3-wxgtk-webview4.0 | sudo apt install python3 python3-pip python3-scipy python3-wxgtk-webview4.0 ffmpeg vlc python3-pygame python3-pyaudio | ||
sudo -H pip3 install psychopy | sudo -H pip3 install psychopy python-vlc rusocsci sounddevice pyo ptb | ||
</pre> | </pre> | ||
Use the start menu or type ''psychopy'' to start the UI, or use the library from your favorite IDE or from the command line. | Use the start menu or type ''psychopy'' to start the UI, or use the library from your favorite IDE or from the command line. | ||