-
Notifications
You must be signed in to change notification settings - Fork 3
Home
The pyenv tool is an excellent method for maintaining multiple versions of python on the same system as well as simplifying the methods of creating virtual environments around those python versions. The one caveat is it isn't great at being used in a multi-user environment such as the enterprise realm where it is useful to have developers use the same environments for their development. This could be solved through the sharing of requirements.txt files and setting up the environment at an individual level, however this could lead to divergent environments between developers. Library versions could end up out of sync, new or removed libraries may not be communicated consistently, and more like issues.
By default, pyenv uses a shims directory under PYENV_ROOT. This is fine when used in a single user setup, but problems arise when there are multiple users using this shared shims directory. With each user changing the virtual environment they are using, the shims are often changed. These changes can cause issues between the two active environments. The pyenv-multiuser plugin solves this issue through the establishment of a user localized shims directory.