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

command pip2 not found #120

Open
ShuminY opened this issue May 12, 2018 · 1 comment
Open

command pip2 not found #120

ShuminY opened this issue May 12, 2018 · 1 comment

Comments

@ShuminY
Copy link

ShuminY commented May 12, 2018

when executing ./install, I got an error that command pip2 not found (for "pip2 install -U setuptools rosdep rosinstall_generator wstool rosinstall catkin_tools bloom empy sphinx pycurl"). It seemed that command "brew install python" now installs python3. and that's why pip2 was not found. I manually execute command "brew install python2" and got pip2 installed. so maybe modifying the line "brew install python" to "brew install python2" in the install script would help.
# Brewed Python
if [ ! "$(which python2)" = "/usr/local/bin/python2" ]; then
brew install python --> brew install python2
mkdir -p ~/Library/Python/2.7/lib/python/site-packages
echo "$(brew --prefix)/lib/python2.7/site-packages" >> ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth
fi

@chris35469
Copy link

Try brew install python@2

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

No branches or pull requests

2 participants