I had similar problems with a PsychoPy version that uses Python 3 but no problem with Python 2.
I recommend the thread linked in the answer of this question: Pylink receiveDataFile
I had similar problems with a PsychoPy version that uses Python 3 but no problem with Python 2.
I recommend the thread linked in the answer of this question: Pylink receiveDataFile