[LinuxCNC/linuxcnc Issue#226] Linuxcnc configuration failes if python2.7 is not default in Gentoo->error: Python version too old (2.7 or newer required)

未分类 bolang 4个月前 (10-15) 28次浏览

Issue #226 | 状态: 已关闭 | 作者: Petross404 | 创建时间: 2017-01-28


$python -V
Python 3.5.2

When I ran
./configure --with-realtime=uspace --enable-non-distributable=yes --with-boost-python=boost_python-2.7


checking python version... File "", line 1
import sys;raise SystemExit,sys.hexversion<0x2070000 ^ SyntaxError: invalid syntax configure: error: Python version too old (2.7 or newer required)

If I select python2.7 as the default, the configuration completes without error. The thing is I want portage to work with python3.5, so defaulting to python2.7 isn't an option for some users (including me).

All the best


评论 (1)

#1 - jepler 于 2017-01-29

LinuxCNC requires Python 2.7. It is not compatible with 3.x, and no one has offered to undertake the porting effort.

Try specifying --with-python= to configure; if this is broken, then it's a problem we would like to fix.


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/226

喜欢 (0)