File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -163,17 +163,11 @@ function brew_install_python {
163
163
local py_digit=${py_version: 0: 1}
164
164
if [[ " $py_digit " == " 3" ]] ; then
165
165
brew upgrade python
166
- echo " hello testing... 1 2 3"
167
166
ln -s /usr/local/bin/python3 /usr/local/bin/python
168
167
else
169
168
brew uninstall --force --ignore-dependencies python
170
169
brew install python@2
171
170
brew link python@2 --force
172
- # export PATH="/usr/local/opt/python@2/bin:$PATH"
173
- # echo 'export PATH="/usr/local/opt/python@2/bin:$PATH"' >> ~/.bash_profile
174
- # rm -f /usr/local/bin/python2 /usr/local/bin/pip
175
- # ln -s /usr/local/opt/python@2/bin/python /usr/local/bin/python2
176
- # ln -s /usr/local/opt/python@2/bin /usr/local/bin/pip
177
171
fi
178
172
require_success " Failed to install python"
179
173
PYTHON_EXE=/usr/local/bin/python$py_digit
You can’t perform that action at this time.
0 commit comments