| Reference | Downloads | Github

An error during pip install psychopy windows 10 (64-bit), python 3.8 (32 bit)

Dear experts,

I have a very basic and a naïve problem: I try to install psychopy, using command pip install psychopy, as recommended. I fails and the error is as follows:

ERROR: No .egg-info directory found in C:\Users\User\AppData\Local\Temp\pip-pip-egg-info-4prre268

pip install psychopy --no-deps did install psychopy without issues:

Requirement already satisfied: psychopy in c:\users\user\appdata\roaming\python\python38\site-packages (2021.2.0)

…but apparently some critical dependencies are missing, because when I try to import psychopy in python it does not work:

Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\User\AppData\Roaming\Python\Python38\site-packages\”, line 44, in
from psychopy.preferences import prefs
File “C:\Users\User\AppData\Roaming\Python\Python38\site-packages\psychopy\”, line 13, in
from . import preferences as prefsLib
File “C:\Users\User\AppData\Roaming\Python\Python38\site-packages\psychopy\preferences\”, line 35, in
from psychopy.contrib.configobj import validate
File “C:\Users\User\AppData\Roaming\Python\Python38\site-packages\psychopy\contrib\configobj\”, line 132, in
from past.builtins import unicode, basestring
ModuleNotFoundError: No module named ‘past’

Thank you in advance for any thoughts on my situation!

1 Like