Issue
I setup my pyenv
by followign the steps on this page.
pyenv
versions gives me this:
$ pyenv versions
system
2.7.8
3.4.3
3.5.0
3.6.3
3.6.4
* 3.7.2 (set by /Users/me/PycharmProjects/ConfigureDsNet/.python-version)
I assume that the current active Python version in pyenv
is 3.7.2
.
If I now do python -V
I see this:
Python 3.4.3
How can I be certain which version I'm working with?
Solution
As Neeraj Kumar pointed out, adding eval "$(pyenv init -)"
in the ~/.bash_profile
resolved the issue.
Answered By - runnerpaul Answer Checked By - Marie Seifert (WPSolving Admin)