News, tips, partners, and perspectives for the Oracle Linux operating system and upstream Linux kernel work

Getting Started with Python Development on Oracle Linux

Python remains a popular programming language, ranking high on GitHub activity charts (2nd place, for the first quarter of 2018) and some even calling it the fastest-growing major programming language.

There are several ways to get started with Python development on Oracle Linux from using system Python included in the OS to installing recent Python versions from EPEL (Extra Packages for Enterprise Linux).

This page for Python Developers on Oracle Linux yum server describes the various options with detailed instructions. For example, there are instructions on how to install Python 3.6 from EPEL and enable it in a virtual environment as well as steps to install cx_Oracle, the database connector for Python.


Join the discussion

Comments ( 7 )
  • Timothy Day Thursday, October 25, 2018
    Well, the page you link to for installation of python in oracle linux includes instructions that don't work or perhaps are incomplete.

    sudo yum install -y python36

    for example give a package not found error.
    Makes it difficult to Enjoy?
  • Sergio Thursday, October 25, 2018

    Did you enable the ol7_developer_EPEL repo as the instructions say?
  • Timothy Day Thursday, October 25, 2018
    Hey, thanks for that.
    I thought I had done that, but your comment made me go back and try it again.
    I think I just had done something out of order.
    Maybe I enabled it and then went and got it again. ?
    Anyway, thanks.
    By the way, do you know anything about the compatibility of Python 3.7 with Oracle Linux?
  • Sergio Friday, October 26, 2018
    @Timothy - the latest Python we offer via EPEL and Software Collection Library(SCL) is 3.6. I'm don't know whether 3.7 will be added to EPEL or SCL.
    You could try to build it manually. Chances are that it will work. Any particular feature you are looking for that's only in 3.7?
  • Timothy Day Friday, October 26, 2018
    No, I don't really need it.
    My main need is mod_wsgi, which won't install no matter what version of python I have.
    I think I don't have the proper python header files.
  • Timothy Day Monday, October 29, 2018
    Hey, thanks for your help. I think I got it to work. I have a nice Docker image that starts with your OEL7 and ends with a working mod_wsgi app.
  • Sergio Monday, October 29, 2018
    @Timothy: Glad to hear you got it to work. FYI, there is an area on the oDev Community to discuss Python development, should you have further questions

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.