Hello,
FreeBSD vers 7.2 ; i386 platform
I have several versions of python installed
And want to make python2.6 as the default version to run
But when I start the python interpreter, I seem to be getting python 2.7 instead
Any suggestions?
Thanks!
FreeBSD vers 7.2 ; i386 platform
I have several versions of python installed
Code:
#1736:> ls /usr/local/bin/python*
/usr/local/bin/python* /usr/local/bin/python-config*
/usr/local/bin/python-shared-config* /usr/local/bin/python-shared2.6*
/usr/local/bin/python-shared2.7* /usr/local/bin/python-shared2.7-config*
/usr/local/bin/python2.6-config* /usr/local/bin/python2.7*
/usr/local/bin/python-shared* /usr/local/bin/python-shared2.6-config*
/usr/local/bin/python2.6* /usr/local/bin/python2.7-config*
And want to make python2.6 as the default version to run
Code:
#1737:> cat /etc/make.conf
#
# X.Org X-Windows in use
X_WINDOW_SYSTEM=xorg
# added python26 as default 2010-12-02
PYTHON_DEFAULT_VERSION=python2.6
ENABLE_SUIDPERL=true
# added by use.perl 2011-01-11 10:58:01
PERL_VERSION=5.8.9
But when I start the python interpreter, I seem to be getting python 2.7 instead
Code:
#1738:> python
Python 2.7.1 (r271:86832, Dec 2 2010, 09:40:18)
[GCC 4.2.1 20070719 [FreeBSD]] on freebsd7
Type "help", "copyright", "credits" or "license" for more information.
>>>
#1739:>
Any suggestions?
Thanks!