Openpyxl cannot be found - SOLUTION

On version psychopy-1.85.0rc5 from source on linux Ubuntu 16.04 I got this error when running a trial:
openpyxl is required for saving files in Excel (xlsx) format, but was not found.
Howeevr I do have openpyxl installed.
The solution is here:


and the file to be modified is:
site-packages/psychopy/data.py line:29
change:
from openpyxl.cell import get_column_letter
into:
from openpyxl.utils import get_column_letter

1 Like