Results 1 to 2 of 2

Thread: Several Python3 versions

  1. #1

    Default Several Python3 versions

    Dear openSUSE users,

    Is it possible to have several versions of Python3 installed alongside, for instance one being marked as 'python3' and the other one by its point release ('python3.5', etc.)? if so, do I need to build openSUSE .rpms for additional versions myself?

    I am a Python programmer, though I use openSUSE Leap 42.1 because of its improved reliability. Unfortunately, it has Python 3.4.1 from the Python3.x line, while Python 3.5.x is already out and Python 3.6.x in the pipeline.

    Any and all help highly appreciated .

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,278
    Blog Entries
    2

    Default Re: Several Python3 versions

    Yes,
    Last I checked, all "additional" Python versions installed in openSUSE automatically include virtualenv which is the standard "Python switching" utility.

    I haven't written anything about virtualenv, but you may find what I've written about rbenv useful, which was created after virtualenv which works somewhat similarly to do the same thing for Ruby (run different versions of Ruby side by side).

    https://en.opensuse.org/User:Tsu2/Install_Ruby

    You will probably also find the official online virtualenv User Guide useful
    https://virtualenv.pypa.io/en/stable/userguide/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •