psychopy.org | Reference | Downloads | Github

Problem with install of 1.9 on Ubuntu 18.04

First failed using pip install because of wxpython. Installed the set of requirements that were missing and passed the wheel phase. But, now it seems to be fine and then suddenly ends with a segmentation fault. No idea why. Any suggestions? Neurodebian is still at 1.85 version. Here’s the last part of the attempted “pip install psychopy” command:

Successfully installed PyPubSub-4.0.0 asn1crypto-0.24.0 backports.functools-lru-cache-1.5 certifi-2018.8.24 cffi-1.11.5 chardet-3.0.4 configobj-5.0.6 cryptography-2.3.1 cycler-0.10.0 decorator-4.3.0 enum34-1.1.6 et-xmlfile-1.0.1 future-0.16.0 futures-3.2.0 gevent-1.3.6 greenlet-0.4.15 idna-2.7 imageio-2.4.1 ipaddress-1.0.22 jdcal-1.4 json-tricks-3.12.2 kiwisolver-1.0.1 matplotlib-2.2.3 moviepy-0.2.3.5 msgpack-python-0.5.6 numexpr-2.6.8 numpy-1.15.1 opencv-python-3.4.3.18 openpyxl-2.5.7 pandas-0.23.4 pillow-5.2.0 psutil-5.4.7 psychopy-1.90.2 pyOpenSSL-18.0.0 pycparser-2.19 pygame-1.9.4 pyglet-1.3.2 pyopengl-3.1.0 pyosf-1.0.5 pyparallel-0.2.2 pyparsing-2.2.1 pyserial-3.4 python-bidi-0.4.0 python-dateutil-2.7.3 pytz-2018.5 pyyaml-3.13 pyzmq-17.1.2 requests-2.19.1 scipy-1.1.0 setuptools-40.4.1 six-1.11.0 sounddevice-0.3.12 soundfile-0.10.2 subprocess32-3.5.2 tables-3.4.4 tqdm-4.26.0 typing-3.6.6 urllib3-1.23 wxPython-4.0.3 xlrd-1.1.0 zmq-0.0.0
Segmentation fault (core dumped)
Using verbose mode in pip I get:

Compiling /tmp/pip-build-_pWskG/gevent/gevent/_socket3.py …
File “/tmp/pip-build-_pWskG/gevent/gevent/_socket3.py”, line 222
def makefile(self, mode=“r”, buffering=None, *,
^
SyntaxError: invalid syntax

Not sure what this is or what to do about it.

I got a Segmentation fault (core dumped) as well
Use this to clear the caches, it works for me

$ rm -rf ~/.local