ProjectQ-Framework / ProjectQ

ProjectQ: An open source software framework for quantum computing
https://projectq.ch
Apache License 2.0
893 stars 276 forks source link

Install fails on macOS Big Sur #382

Closed bartleyg closed 3 years ago

bartleyg commented 4 years ago

Installing projectq fails on macOS Big Sur (11.0.1) with Python 3.7.9 at the # INFO: Configuring C++ standard step. The traceback error is:

File "/private/var/folders/mh/f8jzghhx1b70m364xw1q3x9w0000gn/T/pip-install-f88pcrl9/projectq/setup.py", line 374, in _configure_cxx_standard
        int(i) for i in platform.mac_ver()[0].split('.')
    ValueError: not enough values to unpack (expected 3, got 2)

Previous macOS versions returned something like 10.15.6 for platform.mac_ver()[0] and Big Sur currently returns 10.16.