What software have you found particularly frustrating or difficult to configure on Linux?

  • @[email protected]
    link
    fedilink
    3
    edit-2
    8 hours ago

    pyenv and pyenv-virtualenv together solves this for me. Virtualenv with specific python versions that work together well with other tools like pip or poetry.

    It boils down to something like

    $ pyenv install 3.12.7
    $ pyenv virtualenv 3.12.7 myenv
    $ pyenv activate myenv
    

    and at that point you can do regular python stuff like pip installing etc.

    • @JubilantJaguar
      link
      24 hours ago

      If you’re having to type out version numbers in your commands, something is broken.

      I ended up having to roll my own shell script wrapper to bring some sanity to Python.

      • @[email protected]
        link
        fedilink
        12 minutes ago

        You misunderstand, the first two commands are just one time setup to install a specific python version and then to create an env using that version. After that all you need is `pyenv activate myenv´ to drop you into that env, with the correct version number.

        You can also just create an env with the system python version, but the question was specifically about managing multiple versions of python side by side and this makes that super easy.