Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 238 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 437 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Python Version

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
-
For Python and cx_Oracle packages, check out this landing page https://yum.oracle.com/oracle-linux-python.html which shows how to install different versions of Python.
Answers
-
What's the output of "type python"? Just because you place some software onto your system, does not mean that your system automatically finds it. You may have to modify your PATH or you may have to call your newly installed python with a fully qualified name (e.g. "/usr/local/bin/python -V").
Andris
-
Thanks.
type python
python is /usr/bin/python
[[email protected] ~]# python3 --version
Python 3.6.0
Seems OK.
-
For Python and cx_Oracle packages, check out this landing page https://yum.oracle.com/oracle-linux-python.html which shows how to install different versions of Python.
-
Thank you.