[Python] apt-get install for different python versions

Discussão em 'Python' iniciado por Stack, Fevereiro 18, 2025.

  1. Stack

    Stack Membro Participativo

    I have ubuntu 10.04 with python2.6 by default. I have installed python2.7.

    When I want to install python packages with

    apt-get python-<package>


    it gets installed to python2.6. How can I make it to install the package to python2.7? Is there any option?

    I have looked at this, but I could not find such directories in my OS. I have considered using easy_install-2.7, but not all packages are supported. For example python-torctl.

    I am more interested in binding python2.7 with apt-get install.

    Continue reading...

Compartilhe esta Página