Changes

Jump to navigation Jump to search
Line 48: Line 48:  
'''Note''' that for the first two steps in the following instructions you need administrative privileges.  
 
'''Note''' that for the first two steps in the following instructions you need administrative privileges.  
 
Chronological instructions:
 
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)''.  
+
# (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'.
 
# (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 priviliges 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 -&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.
# Now Psychopy is installed on your system. You may want to make a link that opens ''C:\...\psychopyApp.py'' with ''pythonw.exe'' and has ''C:\...\psychopy.ico'' as icon.
     −
I thank [http://www.lfd.uci.edu/~gohlke/pythonlibs/ Christoph Gohlke] for compiling the individual packages
+
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 65: 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