Results 1 to 4 of 4

Thread: Update Python3

  1. #1

    Default Update Python3

    Hello, I add this repo http://download.opensuse.org/reposit...openSUSE_13.2/ and installed python 3.4.3. But when I run python3 in terminal,it shows python 3.4.1.

    Code:
    Python 3.4.1 (default, May 23 2014, 17:48:28) [GCC] on linux

    #zypper update python3

    Code:
    No update candidate for 'python3-3.4.3-136.1.x86_64'. The highest available version is already installed.
    Resolving package dependencies...
    
    
    Nothing to do.
    why is this happening ? and how I run python 3.4.3?. thank you

  2. #2

    Default Re: Update Python3

    I solved this, I just have to:

    1) Add this repo: http://download.opensuse.org/reposit...openSUSE_13.2/

    2)
    Code:
    zypper in python3-setuptools-18.0.1-67.1.noarch
    
     zypper in python3-cairo-1.10.0-32.1.x86_64
     
     zypper in python3-louis-2.5.4-6.1.x86_64 
    
     zypper install python3-pip-7.1.0-51.1.noarch
    
    
     zypper in libpython3_4m1_0-3.4.3-142.1.x86_64
    Basically switch system packages to this new repo, but I rather change python3's package only.

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,917
    Blog Entries
    2

    Default Re: Update Python3

    If you want to install and switch between different pythons for specific use on the same system, you need to install a "python switcher."

    The most popular python switcher is probably virtualenv. The following installs the openSUSE package that is already setup for python3 although not likely for your preferred version, but you can modify to do whatever you want.
    Code:
    zypper in python3-virtualenv
    HTH,
    TSU

  4. #4

    Default Re: Update Python3

    Thank you, I will check it.

Posting Permissions

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