Debian8 comes with Python 3.4, but I need to install 3.6 version. I wonder is it possible at all? Cause I failed so many times.
I have tried options mentioned in (How to install Python 3.6), but for make -j8
step I get tons of the following errors:
libpython3.6m.alibpython3.6m.a((descrobject.ocompile.o)):: InIn functionfunction `getset_get_doc':
/root/python3/Python-3.6.3/Objects/descrobject.c:438: undefined reference to `__gcov_indirect_call_profiler_v2'
/root/python3/Python-3.6.3/Objects/descrobject.c:438: undefined reference to `__gcov_indirect_call_callee'
/root/python3/Python-3.6.3/Objects/descrobject.c:438: undefined reference to `__gcov_time_profiler'
libpython3.6m.a(descrobject.o): In function `member_get_doc':
/root/python3/Python-3.6.3/Objects/descrobject.c:422: undefined reference to `__gcov_indirect_call_profiler_v2'
/root/python3/Python-3.6.3/Objects/descrobject.c:422: undefined reference to `__gcov_indirect_call_callee'
/root/python3/Python-3.6.3/Objects/descrobject.c:422: undefined reference to `__gcov_time_profiler'
and so on...
I don't want to use "http://ftp.de.debian.org/debian testing main" cause it contains experimental package and I'm not confident if that's right version to use on production.
I've also tried to do same thing with Debian 9, but had similar problems.
Here you have the same question as your: https://unix.stackexchange.com/questions/332641/how-to-install-python-3-6
– mariaczi Apr 04 '18 at 12:32