psychopy.org | Reference | Downloads | Github

Could someone please guide through the installation of PsychoPy3 on Linux Mint 19.3 Tricia?

Please if someone could help me with the installation of PsychoPy on Linux Mint 19.3. What I have done until now is to try with these lines:

sudo apt-get update
sudo apt-get install python3-pip
sudo pip3 install setuptools
sudo -H pip3 install psychopy

However, this last one throws this error:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zbx62m78/pyqt5/

What would you suggest for that? Or should I do it in a different way? Please help.

@AdrianLeon, can you paste the whole error message?

Yes, @dvbridges of course. Here it is:

sudo -H pip3 install psychopy

Collecting psychopy
  Downloading https://files.pythonhosted.org/packages/f2/9b/05f41efec1b87ccb30650e8b3d0f856b0d00db38ca63bf0b1339377fc707/PsychoPy-2020.1.0.zip (24.6MB)
    100% |████████████████████████████████| 24.6MB 51kB/s 
Requirement already satisfied: requests[security] in /usr/lib/python3/dist-packages (from psychopy)
Collecting numpy (from psychopy)
  Using cached https://files.pythonhosted.org/packages/62/20/4d43e141b5bc426ba38274933ef8e76e85c7adea2c321ecf9ebf7421cedf/numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting scipy (from psychopy)
  Using cached https://files.pythonhosted.org/packages/dc/29/162476fd44203116e7980cfbd9352eef9db37c49445d1fec35509022f6aa/scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting matplotlib (from psychopy)
  Using cached https://files.pythonhosted.org/packages/7e/07/4b361d6d0f4e08942575f83a11d33f36897e1aae4279046606dd1808778a/matplotlib-3.1.3-cp36-cp36m-manylinux1_x86_64.whl
Collecting pandas (from psychopy)
  Downloading https://files.pythonhosted.org/packages/08/ec/b5dd8cfb078380fb5ae9325771146bccd4e8cad2d3e4c72c7433010684eb/pandas-1.0.1-cp36-cp36m-manylinux1_x86_64.whl (10.1MB)
    100% |████████████████████████████████| 10.1MB 116kB/s 
Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from psychopy)
Collecting glfw (from psychopy)
  Using cached https://files.pythonhosted.org/packages/43/23/cbda70f26d1b8e75da04db8ae5ce40d21a7cdb6be602fa64195e2fee16fd/glfw-1.10.1.tar.gz
Collecting pyopengl (from psychopy)
  Using cached https://files.pythonhosted.org/packages/47/9a/8d9364533ebcaa13621994a63dcc6a6051e27671ae5e1715dac4af18cac2/PyOpenGL-3.1.5-py3-none-any.whl
Collecting soundfile (from psychopy)
  Using cached https://files.pythonhosted.org/packages/eb/f2/3cbbbf3b96fb9fa91582c438b574cff3f45b29c772f94c400e2c99ef5db9/SoundFile-0.10.3.post1-py2.py3-none-any.whl
Collecting sounddevice (from psychopy)
  Using cached https://files.pythonhosted.org/packages/86/03/8a0a35f4862a5e6a611a81a5e4908f3c8488c012742c94e535f7db3959af/sounddevice-0.3.14-py2.py3-none-any.whl
Collecting python-bidi (from psychopy)
  Using cached https://files.pythonhosted.org/packages/33/b0/f942d146a2f457233baaafd6bdf624eba8e0f665045b4abd69d1b62d097d/python_bidi-0.4.2-py2.py3-none-any.whl
Collecting arabic_reshaper (from psychopy)
  Using cached https://files.pythonhosted.org/packages/1c/b8/9f87dc2fc6c2e087e448db9e7f66ca4d68c22e9d49a95e5aad22d77c74f1/arabic_reshaper-2.0.15-py3-none-any.whl
Collecting future (from psychopy)
  Using cached https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz
Collecting json_tricks (from psychopy)
  Using cached https://files.pythonhosted.org/packages/41/48/bde6340551be025cdbeb9b5bc7e99f9ed551221e445b780f3fed820da846/json_tricks-3.13.6-py2.py3-none-any.whl
Collecting pyosf (from psychopy)
  Using cached https://files.pythonhosted.org/packages/d1/fa/091aea0dcd05cdc484b33d9556f648af966457882e38733b64a4c3728dd6/pyosf-1.0.5-py2.py3-none-any.whl
Collecting xlrd (from psychopy)
  Using cached https://files.pythonhosted.org/packages/b0/16/63576a1a001752e34bf8ea62e367997530dc553b689356b9879339cf45a4/xlrd-1.2.0-py2.py3-none-any.whl
Collecting openpyxl (from psychopy)
  Using cached https://files.pythonhosted.org/packages/95/8c/83563c60489954e5b80f9e2596b93a68e1ac4e4a730deb1aae632066d704/openpyxl-3.0.3.tar.gz
Collecting pyserial (from psychopy)
  Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from psychopy)
Collecting gevent (from psychopy)
  Using cached https://files.pythonhosted.org/packages/f2/ca/5b5962361ed832847b6b2f9a2d0452c8c2f29a93baef850bb8ad067c7bf9/gevent-1.4.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting msgpack (from psychopy)
  Using cached https://files.pythonhosted.org/packages/3d/a8/e01fea81691749044a7bfd44536483a296d9c0a7ed4ec8810a229435547c/msgpack-0.6.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting msgpack-numpy (from psychopy)
  Using cached https://files.pythonhosted.org/packages/c8/ab/09904a909bccc471f219fb8f5d0838cbcb10cc26089a2b29e84c893e216e/msgpack_numpy-0.4.4.3-py2.py3-none-any.whl
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from psychopy)
Collecting tables (from psychopy)
  Using cached https://files.pythonhosted.org/packages/ed/c3/8fd9e3bb21872f9d69eb93b3014c86479864cca94e625fd03713ccacec80/tables-3.6.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyzmq (from psychopy)
  Using cached https://files.pythonhosted.org/packages/94/07/cee3d328a2e13f9de1c2b62cced7a389b61ac81424f2e377f3dc9d668282/pyzmq-18.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting moviepy (from psychopy)
  Using cached https://files.pythonhosted.org/packages/de/f0/b8005c49fd3975a9660dfd648292bb043a5d811fe17339e8f7b79f3ec796/moviepy-1.0.1.tar.gz
Collecting opencv-python (from psychopy)
  Using cached https://files.pythonhosted.org/packages/68/c5/09a1b82f940805c2cee30c3c42786651edcfd0710a0283eb09c6bc959340/opencv_python-4.2.0.32-cp36-cp36m-manylinux1_x86_64.whl
Collecting python-gitlab (from psychopy)
  Downloading https://files.pythonhosted.org/packages/42/bb/71f296a92751efa8bbb6a1134d22904bd76a2038141cf34987a84eb1a885/python_gitlab-2.0.1-py3-none-any.whl (72kB)
    100% |████████████████████████████████| 81kB 792kB/s 
Collecting gitpython (from psychopy)
  Using cached https://files.pythonhosted.org/packages/20/8c/4543981439d23c4ff65b2e62dddd767ebc84a8e664a9b67e840d1e2730d3/GitPython-3.0.5-py3-none-any.whl
Collecting astunparse (from psychopy)
  Using cached https://files.pythonhosted.org/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl
Collecting esprima (from psychopy)
  Using cached https://files.pythonhosted.org/packages/cc/a1/50fccd68a12bcfc27adfc9969c090286670a9109a0259f3f70943390b721/esprima-4.0.1.tar.gz
Collecting freetype-py (from psychopy)
  Using cached https://files.pythonhosted.org/packages/f2/00/6f332e63b33d24dc3761916e6d51402a7a82dd43c6ca8a96e24dda32c6b5/freetype_py-2.1.0.post1-py2.py3-none-manylinux1_x86_64.whl
Collecting pyparallel (from psychopy)
  Using cached https://files.pythonhosted.org/packages/08/06/b8dfcd5509b4c2ee68528a90be91eddfcb1f8c9fab90c0e734841b03fb3c/pyparallel-0.2.2-py3-none-any.whl
Collecting distro (from psychopy)
  Using cached https://files.pythonhosted.org/packages/ea/35/82f79b92fa4d937146c660a6482cee4f3dfa1f97ff3d2a6f3ecba33e712e/distro-1.4.0-py2.py3-none-any.whl
Collecting pyglet>=1.3 (from psychopy)
  Using cached https://files.pythonhosted.org/packages/27/08/1df0ca875c60f3a5b66f59d5b00cfda7fdd50e7bbe1902bc7f49f05b3777/pyglet-1.4.10-py2.py3-none-any.whl
Collecting imageio>=2.5 (from psychopy)
  Using cached https://files.pythonhosted.org/packages/1a/de/f7f985018f462ceeffada7f6e609919fbcc934acd9301929cba14bc2c24a/imageio-2.6.1-py3-none-any.whl
Collecting imageio-ffmpeg (from psychopy)
  Using cached https://files.pythonhosted.org/packages/44/51/8a16c76b2a19ac2af82001985c80d3caca4c373528855cb27e12b39373fb/imageio-ffmpeg-0.3.0.tar.gz
Collecting pyqt5 (from psychopy)
  Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.6/tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-jk1at0z7/pyqt5/setup.py'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jk1at0z7/pyqt5/