Using Different versions of python with pipx | pyenv
I love using pipx for automatic virtual environment management of my globally installed python cli applications, but sometimes the application is not compatible with your globally installed Which version of python is using?? # This one took me a minute to figure out at first, please let me know if there is a better way. I am pretty certain that this is not the ideal way, but it works. My first technique was to make a package that printed out. Let’s setup some other versions of python with pyenv # If you don’t already have pyenv installed, you can follow their install instructions to get it. I usually require a virtual environment # I set the environment variable to to ensure that the virtual environment is activated when pip installing, this makes it so that I can’t accidentally use the global env, which is typically not what I want to do. This goes right into my shell startup script or. Exceptions happen # This is my one exception. I’ve had better luck putting pipx right in the global…