default python versions

tech-lists tech-lists at zyxst.net
Mon Feb 20 15:48:17 UTC 2017


Hello,

system: freebsd11-stable r312829 / ports: 434441

How can I set (or is it desirable to set) the default python version to
python3? Isn't 2.7 ancient?

I have the following installed:

root at hp:/usr/ports/lang/python3 # python --version
Python 2.7.13
root at hp:/usr/ports/lang/python3 # python3 --version
Python 3.5.3

In /etc/make.conf, I have:

DEFAULT_VERSIONS+=  ssl=libressl =python=python3
*I don't know if this is correct ^^^^^^^^^^^^^^^^*

I've googled but a lot of what's there seems outdated/contradictory

thanks,
-- 
J.


More information about the freebsd-python mailing list