Conda environment on Mac

Hi there,

It seems that the currently-provided conda environment file (here) does not build on OSX:

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
pip -> python[version='>=3|>=3.6|>=3.7']
psychopy -> python[version='>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0',build=*_cpython]
pip -> setuptools -> python[version='!=3.0,!=3.1,!=3.2,!=3.3,!=3.4|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.8|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0|>=3.11,<3.12.0a0|>=3.11,<3.12.0a0|2.7.*|>=3.6',build=*_cpython]
psychopy -> arabic_reshaper -> python[version='3.10.*|3.8.*|>=2|>=2.7|>=3.5|>=3|>=3.11,<3.12.0a0|>=3.11,<3.12.0a0|>=3.6|>=3.7|>=3.8|>=3.4|>=3.7,<4.0|>=3.6,<4.0|3.9.*',build=*_cpython]

Package python_abi conflicts for:
pip -> setuptools -> python_abi[version='3.10.*|3.8.*|3.9.*|3.11.*',build='*_cp311|*_cp310|*_cp38|*_cp39']
psychopy -> gevent -> python_abi=3.11[build=*_cp311]
psychopy -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp310|*_cp38|*_cp39']

Package wheel conflicts for:
python=3.8 -> pip -> wheel
pip -> wheel
  1. Changing to python=3.10 allows the environment to resolve, but fails in pip install pyo.
  2. Disabling the pyo install completes the conda environment setup, but I have not tested what PsychoPy functionality will be broken due to this.
  3. Using rosetta / arch i386 instead of ARM (I’m on an M1 mac) works with python=3.10, and installs pyo, but fails under python=3.8.

In general I would like to request an update of the conda environment file linked from the official installation page that might work more robustly across different systems, by someone who has a better idea of compatibilities and the current recommended Python version in PsychoPy than I do.


Note also that this environment does build on an Ubuntu Linux distribution 20.04.

Is there any workaround for installing Psychopy using a conda environment on Mac? I’m not sure what to change in the environment file to make it work…

1 Like

I’m having the same issue when trying to build psychopy on the latest OSX, don’t want to mess with the dependencies too much so hopefully we will get an update

1 Like