Skip to content

Instantly share code, notes, and snippets.

@moshfiqrony
Created March 30, 2022 05:06
Show Gist options
  • Save moshfiqrony/c3054934c4fe77dc4754cdc09732ae3e to your computer and use it in GitHub Desktop.
Save moshfiqrony/c3054934c4fe77dc4754cdc09732ae3e to your computer and use it in GitHub Desktop.
# Pyenv not found solve
After installing pyenv from the official installer docs - https://github.com/pyenv/pyenv-installer.
If you face problem that your pyenv is not recongnized. There can be situations that your `.bashrc` didn't updated
Open the `.bashrc` file and add following code there
```
export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
```
Now save it and run follwoing command
```
source ~/.bashrc
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment