Changes

Jump to navigation Jump to search
1,649 bytes added ,  17:20, 23 January 2020
Line 44: Line 44:     
=Installing Python 3 and Psychopy 3 for Windows=
 
=Installing Python 3 and Psychopy 3 for Windows=
 +
 +
If you already have Python 3.7 installed on your computer or if you want to use Python for other purposes as well, you are advised to install PsychoPy as library.
 +
'''Note''' that for the first two steps in the following instructions you need administrative privileges.
 +
Chronological instructions:
 +
# (skip this step if you have Python 3.7 32 bit installed already and you want to keep it) Uninstall all versions of Python 3 that you installed previously. Use ''Programs and Features'' in the Control Panel. Also uninstall all Python packages that you see in ''Programs and Features''. Remove ''C:\Program Files(32)\Python3-32''.
 +
# (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 -&gt; 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/DEPS3_64.txt dependency file].
    
=Installing Python 2 and Psychopy 2, Linux=
 
=Installing Python 2 and Psychopy 2, Linux=
Line 55: Line 64:  
In ''Ubuntu 18.04 Bionic Beaver'' (and probably in other ubuntu versions too) type:
 
In ''Ubuntu 18.04 Bionic Beaver'' (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
sudo -H pip3 install psychopy
+
sudo -H pip3 install psychopy python-vlc rusocsci
 
</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.

Navigation menu