Skip to content

Commit

Permalink
Fix Travis CI build error on OSX - fails with pip3: command not found
Browse files Browse the repository at this point in the history
The Travis CI builds are failing with the following messages:

    sudo -H pip3 install --upgrade pip setuptools wheel
    sudo: pip3: command not found

    The command "if [ "$TRAVIS_OS_NAME" = "osx" ]; then bash package/prepare_osx.sh; fi" failed and exited with 1 during .

It appears that homebrew recipes for Python3 and pip3 install and
invocation keep changing (see Homebrew version after 1.5).

https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x
  • Loading branch information
gedakc committed Oct 14, 2018
1 parent 41e9467 commit 847fb98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/prepare_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ brew update
# upgrade to python 3.x
brew upgrade python
brew install enchant
brew postinstall python # this installs pip
sudo -H pip3 install --upgrade pip setuptools wheel
pip3 install pyinstaller PyQt5 lxml pyenchant
brew install qt hunspell
Expand Down

0 comments on commit 847fb98

Please sign in to comment.