Just to let you know about progress towards Python3:
Version 1.85.3 has just been released and it introduces new dependencies on the following packages:
futureis now needed to allow dual compatibility with Python2.7 and Python 3.6 (not sure about 3.5). We will hopefully allow both versions to be supported for some time (a year maybe?) and Standalone packages will be built for 3.6 and 2.7, for a period, so that users can choose which to use
json_trickswas needed because monitor calibration files (which were pickle format) from 2.7 won’t load in 3.6 as far as I know. In future we’ll save calibrations as JSON format files but this package is needed in order to dump/load numpy arrays and date structures (the built-in json lib doesn’t handle those). For a period PsychoPy running on 2.7 will load files from calib (pickle) files but will immediately save them as json files as well. Python3 instances will only attempt to load/save json files.
There are still going to be areas of broken functionality for Python3 and it would be great to see people using it and finding the issues. You can get started really easily:
- install Python3 from python.org
- cd into your psychopy repository
pip3 install . -eto get a development install including all the dependencies!