我正在尝试安装py2cairo但是我收到以下错误:
Checking for 'gcc' (c compiler) : ok
Checking for program python : /usr/local/opt/python/bin/python
python executable '/usr/local/opt/python/bin/python' different from sys.executable '/usr/local/opt/python/bin/python2.7'
Checking for python version : (2, 7, 9, 'final', 0)
which python
的输出是:
/usr/local/opt/python/bin/python
和sys.executable
是:
'/usr/local/opt/python/bin/python2.7'
所以我想知道如何使两者相同。
我正在使用MAC,但不确定它是否有任何区别。