Group Install on CentOS7 Cluster

Hi,

I’m unfortunately running into different error typically occurring during the wxPython installation of Psychopy/2022.2.5 on Linux (CentOS7) through various methods (pip, conda, venv). Can you recommend an installation method/instructions for installing without sudo requirement?

If a library is missing, can I simply download it locally and just add it to the LD_LIBRARY_PATH?

Thanks in advance,
Mitch

I should have added some of the errors I’m encountering. This is using the basic Linux instructions on the install page. When I go to initiate psychopy, a second terminal window appears and then closes after 5 seconds and there is no output message.

Error 1:

$ pip install -I --prefix=$INSTALL_DIR psychopy
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
datascience 0.17.0 requires coveralls, which is not installed.
datascience 0.17.0 requires nbsphinx, which is not installed.
spyder 5.0.1 requires jedi==0.17.2, but you have jedi 0.18.2 which is incompatible.
spyder 5.0.1 requires parso==0.7.0, but you have parso 0.8.3 which is incompatible.
spyder 5.0.1 requires pyqt5<5.13, but you have pyqt5 5.15.7 which is incompatible.
sciris 1.1.1 requires xlrd==1.2.0, but you have xlrd 2.0.1 which is incompatible.
python-language-server 0.36.2 requires jedi<0.18.0,>=0.17.2, but you have jedi 0.18.2 which is incompatible.
poetry 1.1.7 requires packaging<21.0,>=20.4, but you have packaging 23.0 which is incompatible.
poetry 1.1.7 requires requests-toolbelt<0.10.0,>=0.9.1, but you have requests-toolbelt 0.10.1 which is incompatible.
httplib2 0.19.1 requires pyparsing<3,>=2.4.2, but you have pyparsing 3.0.9 which is incompatible.
gym 0.18.0 requires Pillow<=7.2.0, but you have pillow 9.4.0 which is incompatible.
gym 0.18.0 requires pyglet<=1.5.0,>=1.4.0, but you have pyglet 1.5.27 which is incompatible.
google-api-python-client 2.3.0 requires google-api-core<2dev,>=1.21.0, but you have google-api-core 2.11.0 which is incompatible.
google-api-python-client 2.3.0 requires google-auth<2dev,>=1.16.0, but you have google-auth 2.16.0 which is incompatible.

Error 2:

$ pip install -I --prefix=$INSTALL_DIR wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
datascience 0.17.0 requires coveralls, which is not installed.
datascience 0.17.0 requires nbsphinx, which is not installed.
psychopy 2022.2.5 requires numpy<1.24.0, but you have numpy 1.24.1 which is incompatible.
sciris 1.1.1 requires xlrd==1.2.0, but you have xlrd 2.0.1 which is incompatible.
poetry 1.1.7 requires packaging<21.0,>=20.4, but you have packaging 23.0 which is incompatible.
poetry 1.1.7 requires requests-toolbelt<0.10.0,>=0.9.1, but you have requests-toolbelt 0.10.1 which is incompatible.
gym 0.18.0 requires Pillow<=7.2.0, but you have pillow 9.4.0 which is incompatible.
gym 0.18.0 requires pyglet<=1.5.0,>=1.4.0, but you have pyglet 1.5.27 which is incompatible.
google-api-python-client 2.3.0 requires google-api-core<2dev,>=1.21.0, but you have google-api-core 2.11.0 which is incompatible.
google-api-python-client 2.3.0 requires google-auth<2dev,>=1.16.0, but you have google-auth 2.16.0 which is incompatible.

Error 3:

cat ~/.psychopy3
0.1905 	DEBUG 	Opening message catalog /share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/localization/../app/locale/en_US/LC_MESSAGE/messages.mo for locale en_US
pygame 2.1.2 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
PTB-INFO: Trying to suspend potentially running PulseAudio server... ... status 0
PTB-INFO: Using modified PortAudio V19.7.0-devel, revision unknown
Error in function GetDevices: 	Usage error
PTB-ERROR: PortAudio can't detect any supported sound device on this system.
PsychPortAudio:GetDevices: Usage:

devices = PsychPortAudio('GetDevices' [, devicetype] [, deviceIndex]);
Traceback (most recent call last):
  File "/share/pkg.7/psychopy/2022.2.5/install/bin/psychopy", line 8, in <module>
    sys.exit(main())
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/psychopyApp.py", line 98, in main
    start_app()
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/psychopyApp.py", line 26, in start_app
    app = startApp(showSplash=showSplash)
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/__init__.py", line 85, in startApp
    _psychopyApp = PsychoPyApp(
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/_psychopyApp.py", line 232, in __init__
    self.onInit(testMode=testMode, **kwargs)
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/_psychopyApp.py", line 376, in onInit
    from psychopy.app import coder, builder, runner, dialogs
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/builder/__init__.py", line 5, in <module>
    from .builder import BuilderFrame
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/builder/builder.py", line 123, in <module>
    class BuilderFrame(BaseAuiFrame, handlers.ThemeMixin):
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/builder/builder.py", line 126, in BuilderFrame
    routineTemplates = TemplateManager()
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/builder/builder.py", line 108, in __init__
    self.updateTemplates()
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/app/builder/builder.py", line 115, in updateTemplates
    thisExp = experiment.Experiment()
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/experiment/_experiment.py", line 136, in __init__
    _settingsComp = getComponents(fetchIcons=False)['SettingsComponent']
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/experiment/components/__init__.py", line 154, in getComponents
    module = import_module(explicit_rel_path, package=pkg)
  File "/share/pkg.7/python3/3.8.10/install/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/experiment/components/microphone/__init__.py", line 24, in <module>
    devices = {d.deviceName: d for d in Microphone.getDevices()}
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychopy/sound/microphone.py", line 550, in getDevices
    allDevs = audio.get_devices()
  File "/share/pkg.7/psychopy/2022.2.5/install/lib/python3.8/site-packages/psychtoolbox/audio.py", line 70, in get_devices
    return PsychPortAudio('GetDevices', device_type, device_index);
Exception: PTB-ERROR: PortAudio can't detect any supported sound device on this system.
5.9842 	WARNING 	sounddevice audio lib was requested but not loaded: sounddevice not working
6.0866 	INFO 	Loaded psychtoolbox audio version 3.0.18.608313041
6.0869 	INFO 	sound is using audioLib: PTB
PTB-INFO: Trying to resume potentially suspended PulseAudio server... ... status 0