Virtualenv with pyenv gives wrong python version
I have pyenv installed on an up to date debian testing distribution, and have python 2.7.1 in it. I create a virtualenv for a project with this version, but when activated it gives me the python system version (3.7). Here is what I did: $ pyenv virtualenv 2.7.16 my_project-2.7 Requirement already satisfied: virtualenv in /home/user/.local/lib/python2.7/site-packages (15.1.0) You are using pip version 18.1, however version 19.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Using base prefix '/usr' New python executable in /home/user/.pyenv/versions/2
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.