We'll stick to 32-bit installation (to make iohub happy?)
- Install python 2.7.12 x86 (make sure to add python to your PATH var, just for ease-of-use)
- We use this version solely for compatibility with the
nidaqmxpackage (2.7.14 being compatible when it comes out) - Ideally, psychopy will eventually support 3.x, which is actively developed
- Install wheels for numpy and scipy from http://www.lfd.uci.edu/~gohlke/pythonlibs/
- for instance, use numpy‑1.12.1+mkl‑cp27‑cp27m‑win32.whl because we're using python 2.7 on 32 bit
python -m pip install <path_to_numpy_whl>.whl- We install these two globally because they're cumbersome to keep re-installing and rather large
-
virtualenv venv --system-site-packagesin your project directory to create virtualenv storage folder -
venv\Scripts\activateto turn on the virtualenv (deactivateto turn it off) -
Start installing dependencies within virtualenv
python -m pip install pypiwin32 matplotlib pandas pyopengl pyglet pillow moviepy lxml openpyxl configobjpython -m pip install git+https://github.com/psychopy/psychopypython -m pip install pyyaml gevent greenlet msgpack-python psutil table cffi pysoundcard pysoundfile sounddevice pyserial pyparallelpython -m pip install nidaqmx(install nidaq runtime, etc.!)