I’m trying to install psychopy on Python 3 on a Mac but I get an error:
pip3 install psychopy
Collecting psychopy
Using cached PsychoPy-1.84.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/39/88clnp910zlg54lrgy0d7qm40000gn/T/pip-build-ddca2hwz/psychopy/setup.py”, line 28, in
exec(vStr)
File “”, line 42, in
File “/private/var/folders/39/88clnp910zlg54lrgy0d7qm40000gn/T/pip-build-ddca2hwz/psychopy/psychopy/init.py”, line 47, in
from psychopy.tools.versionchooser import useVersion, ensureMinimal
File “/private/var/folders/39/88clnp910zlg54lrgy0d7qm40000gn/T/pip-build-ddca2hwz/psychopy/psychopy/tools/versionchooser.py”, line 19, in
from psychopy import logging, tools, web
File “/private/var/folders/39/88clnp910zlg54lrgy0d7qm40000gn/T/pip-build-ddca2hwz/psychopy/psychopy/web.py”, line 13, in
import httplib
ImportError: No module named ‘httplib’
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/39/88clnp910zlg54lrgy0d7qm40000gn/T/pip-build-ddca2hwz/psychopy/
I tried to install “httplib” but no luck there also:
pip3 install httplib
Collecting httplib
Could not find a version that satisfies the requirement httplib (from versions: )
No matching distribution found for httplib
How should I install it?