Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better pyenv instructions #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sahil9748
Copy link

  1. 'pyenv install 3.11.5' error gets fixed after terminal configuration file contain these lines (26-34)
  1. ' git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv '

these lines removed as it gives error else everything worked.

1. 'pyenv install 3.11.5' error gets fixed after terminal configuration file contain these lines (26-34)

2. ' git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv '

these lines removed as it gives error else everything worked.
@SwaroopH SwaroopH changed the title Update README.md Better pyenv instructions Feb 20, 2024
@SwaroopH SwaroopH requested review from anomit and xadahiya February 20, 2024 04:18
@anomit
Copy link
Member

anomit commented Feb 20, 2024

Hey @sahil9748 thank you for the code patch. Just wanted to clarify a couple of things

  1. 'pyenv install 3.11.5' error gets fixed after terminal configuration file contain these lines (26-34)

Can you first share the error logs in detail with further information on the platform and open an issue? Linux distribution, kernel version etc. We can not accept PRs that are not associated with an open issue.

  1. ' git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv '

these lines removed as it gives error else everything worked.

Once again, do include the exact error logs faced in this step as well in the issue description. Thanks.

@sahil9748
Copy link
Author

1. 'pyenv install 3.11.5' error
Screenshot 2024-02-20 at 2 35 15 PM

In order to fix this error we need to add below lines.
"
export PATH="$HOME/.pyenv/bin:$PATH"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi"

Once we run the above lines the issue is fixed and 'pyenv install 3.11.5' runs smoothly
Screenshot 2024-02-20 at 2 39 45 PM

2. 'git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv' there is an error as it already exists.
Skipping this line of code does not affect preceeding steps and runs without any problem.

Screenshot 2024-02-20 at 2 47 15 PM

OS: Ubuntu 20.04 (64bit)
Kernel: 5.4.0-105-generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants