You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Place necessary configs in ~/.bashrc and reload shell
Attempt to run ./setup-env
Observe the check for pyenv-virtualenv failing, even though one can run pyenv virtualenvs with a space just fine
Expected behavior
The check needs to detect the pyenv-virtualenv binary in the correct directory or check for the existence of pyenv virtualenv with a space instead. The easiest way to do this would be to check in the locations that pyenv-virtualenv describes to install it:
$(pyenv root)/bin
$(pyenv root)/plugins/pyenv-virtualenv/bin
You could also detail that users may need to symlink or otherwise add the plugin's bin to their path in their bashrc:
🐛 Summary
./setup-env
script needs to look forpyenv-virtualenv
in all places it's setup to be detected, not just the MacOS location.To reproduce
Steps to reproduce the behavior:
~/.bashrc
and reload shell./setup-env
pyenv virtualenvs
with a space just fineExpected behavior
The check needs to detect the
pyenv-virtualenv
binary in the correct directory or check for the existence ofpyenv virtualenv
with a space instead. The easiest way to do this would be to check in the locations that pyenv-virtualenv describes to install it:$(pyenv root)/bin
$(pyenv root)/plugins/pyenv-virtualenv/bin
You could also detail that users may need to symlink or otherwise add the plugin's bin to their path in their bashrc:
echo "export PATH="$PATH:$HOME/.pyenv/plugins/pyenv-virtualenv/bin" >> ~/.bashrc
Any helpful log output or screenshots
Output of setup-env test before adding to path:
> command -v pyenv-virtualenv >
Output of setup-env test after adding to path:
The text was updated successfully, but these errors were encountered: