Forums

Resolved
0 votes
I'm not sure but is there a external repo for Python 3.7.7? I did a quick Google search but didn't find anything interesting.

I can build Python 3.7.7 from source in a VM but a RPM is easier..
Sunday, July 18 2021, 12:51 PM
Share this post:
Responses (3)
  • Accepted Answer

    Sunday, July 18 2021, 01:20 PM - #Permalink
    Resolved
    0 votes
    No but there is a sort of python38 - rh-python38. This is from the Software Collections (same stuff as all the PHP versions). See https://www.softwarecollections.org/en/scls/rhscl/rh-python36/ for details. Rh-python38 will be very similar to rh-python36. In their example:
    scl enable rh-python36 bash
    will open a bash shell with python36 active. you can replace "bash" with any command. Alternatively you can change the shebang at the beginning of a python script to point directly to the rh-python executable e.g:
    #! /opt/rh/rh-python38/root/usr/bin/python3
    or
    #! /opt/rh/rh-python38/root/usr/bin/python3.8
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 19 2021, 05:02 PM - #Permalink
    Resolved
    0 votes
    Thank you for your prompt response.

    Checked the link you posted but I can't find Python 3.8. The latest version is Python 3.6. I need at least version 3.7.7. It is for running a Chia farmer on ClearOS.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 19 2021, 05:19 PM - #Permalink
    Resolved
    0 votes
    You won't find 3.8 mentioned on the Software Collections site but it does exist. Their documentation is not good but rh-python38 is directly installable from the command line using your current repositories. To use it, just translate 36 -> 38 from the link I gave.
    The reply is currently minimized Show
Your Reply