distribution icon indicating copy to clipboard operation
distribution copied to clipboard

Simple Python Version Management: pyenv

Open IndyWH opened this issue 2 years ago • 3 comments

Official package name:pyenv

License (must be an OSI approved Open Source license):MIT License

Download URL of latest release:https://github.com/pyenv/pyenv

Latest release date (must be recent):Aug 11, 2023

Description:pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. This project was forked from rbenv and ruby-build, and modified for Python.

IndyWH avatar Aug 18 '23 13:08 IndyWH

hmm how is this different from the more standard "virtualenv" python tool ?

On Fri, Aug 18, 2023 at 6:36 AM IndyWH @.***> wrote:

Official package name:pyenv

License (must be an OSI approved Open Source license):MIT License

Download URL of latest release:https://github.com/pyenv/pyenv

Latest release date (must be recent):Aug 11, 2023

Description:pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. This project was forked from rbenv https://github.com/rbenv/rbenv and ruby-build https://github.com/rbenv/ruby-build, and modified for Python.

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/2943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FN7BNH3GY5TBASB6C3XV5VXFANCNFSM6AAAAAA3VROUFI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fenrus75 avatar Aug 18 '23 14:08 fenrus75

Many thanks for the quick reply. I run automatic1111 stable diffusion and other github projects that need older versions of python. These commonly have an .sh file that I execute to run the project. And the virtual envirnoment is setup within this execution. So, pyenv makes it is so easy to switch between python versions with a simple command 'pyenv global 3.10.6'. I hope you will add it to a bundle :-)

IndyWH avatar Aug 18 '23 14:08 IndyWH

I can install pyenv in Clear Linux with some difficulty after installing all these bundles devpkg-ncurses sqlite devpkg-openssl tcl-basic devpkg-readline devpkg-bzip2 devpkg-sqlite-autoconf devpkg-libffi devpkg-xz user-basic-dev.

If pyenv is included in a package like dev-pkg-basic it would be simple.

IndyWH avatar Aug 18 '23 14:08 IndyWH