Overview
Some users may be seeing an issue where a python3 shell in your workflow does not recognize packages installed via pip in a previous bash step when using a newer xCode version. This is because by not using bash, you are bypassing the path we set in the bashrc and eval "$(pyenv init -)"
so it will default to the system python which is different. You are installing the pip packages into the pyenv python, then using the system python so those packages don’t exist in the context of the system python.
Solution
You can address this by simply running the
pyenv global system
command to set the pyenv to use the system python before installing packages.
Comments
Article is closed for comments.