Forum Stats

  • 3,769,586 Users
  • 2,252,984 Discussions
  • 7,875,109 Comments

Discussions

Python Version

happy10319
happy10319 Member Posts: 5,991 Bronze Trophy
edited Jun 4, 2018 12:33AM in Python

Hi,

On Oracle Linux I had:

python -V

Python 2.6.6

I ran:

wget http://python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz

tar xf Python-3.6.3.tar.xz

cd Python-3.6.3

./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"

make && make altinstall

And I see:

[[email protected] ~]# ls /usr/local/lib

libpython3.6m.so  libpython3.6m.so.1.0  libpython3.so  pkgconfig  python3.6

[[email protected] ~]#

But I have always:

python -V

Python 2.6.6

Any idea?

Thanks.

Best Answer

Answers

This discussion has been closed.