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

OSX: pip command not found #8829

Closed
gpotter2 opened this issue Nov 29, 2017 · 5 comments
Closed

OSX: pip command not found #8829

gpotter2 opened this issue Nov 29, 2017 · 5 comments
Labels

Comments

@gpotter2
Copy link

Hello !
Since today, we're getting random "Pip command not found" during our python builds on OSX:

Failing build example:
https://travis-ci.org/secdev/scapy/jobs/309062611#L47
https://travis-ci.org/secdev/scapy/jobs/309081835#L53
Config of this build:

        - os: osx
          language: generic

Install file (where it fails): https://github.com/secdev/scapy/blob/master/.travis/install.sh
.travis.yml: https://github.com/secdev/scapy/blob/master/.travis.yml

Have the API been update ? Do we need to do anything ?

Thanks a lot for any support !

@BanzaiMan
Copy link
Contributor

Please note that we don't support Python builds on our Mac images. If you need pip, on language: generic builds, you are responsible for providing it.

@ArunTejCh
Copy link

The new osx default 10.12 xcode8.3 has different packages compared to the old default xcode7.3. I was facing the same issue. I switch back to the older image osx_image: xcode7.3 to get it working.

@BanzaiMan BanzaiMan added the mac label Nov 29, 2017
@gpotter2
Copy link
Author

@BanzaiMan Thanks or clarifying !
This may be closed

@pat-s
Copy link

pat-s commented Nov 30, 2017

On xcode8.3 you need to use either pip2 or pip3

Opticalp added a commit to Opticalp/instrumentall that referenced this issue Dec 1, 2017
jay added a commit to jay/curl that referenced this issue Dec 1, 2017
.. since now mac osx image expects pip2 or pip3, and doesn't know pip:


0.01s$ pip install --user cpp-coveralls
/Users/travis/.travis/job_stages: line 57: pip: command not found


Ref: travis-ci/travis-ci#8829

Closes curl#2133
akopytov added a commit to akopytov/sysbench that referenced this issue Dec 1, 2017
pip is no longer available in default images as per
travis-ci/travis-ci#8829.
jay added a commit to jay/curl that referenced this issue Dec 1, 2017
.. since now mac osx image expects pip2 or pip3, and doesn't know pip:

0.01s$ pip install --user cpp-coveralls
/Users/travis/.travis/job_stages: line 57: pip: command not found

Ref: travis-ci/travis-ci#8829

Closes curl#2133
bagder pushed a commit to curl/curl that referenced this issue Dec 2, 2017
.. since now mac osx image expects pip2 or pip3, and doesn't know pip:

0.01s$ pip install --user cpp-coveralls
/Users/travis/.travis/job_stages: line 57: pip: command not found

Ref: travis-ci/travis-ci#8829

Closes #2133
@lurch
Copy link

lurch commented Dec 3, 2017

I can confirm @pat-s 's comment - I was able to fix our Mac OS Travis builds (which had been working fine up until last week) by changing pip to pip2 for OSX builds balena-io/etcher#1897 Thanks @pat-s !

@BanzaiMan Perhaps this nugget of golden info could be added to https://blog.travis-ci.com/2017-11-21-xcode8-3-default-image-announce ?

DurgeshSamant added a commit to DurgeshSamant/HFO that referenced this issue Dec 8, 2017
Error OSX: pip command not found #8829. Fixed as per travis-ci/travis-ci#8829
aserdean pushed a commit to openvswitch/ovs that referenced this issue Dec 12, 2017
xcode8.3 is a new default image for OS X on Travis-CI, but
it does not have 'pip':

    pip install --user six
    ./.travis/osx-prepare.sh: line 3: pip: command not found

'pip2' or 'pip3' should be used explicitly instead:

    travis-ci/travis-ci#8829

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
jcfr added a commit to scikit-build/scikit-ci-addons that referenced this issue Dec 14, 2017
jcfr added a commit to scikit-build/scikit-ci-addons that referenced this issue Dec 14, 2017
jcfr added a commit to scikit-build/scikit-ci-addons that referenced this issue Dec 14, 2017
daviddrysdale added a commit to daviddrysdale/certificate-transparency that referenced this issue Mar 29, 2018
Travis OSX only has pip2/pip3, not pip.
cf. travis-ci/travis-ci#8829
daviddrysdale added a commit to google/certificate-transparency that referenced this issue Mar 29, 2018
Travis OSX only has pip2/pip3, not pip.
cf. travis-ci/travis-ci#8829
vladak pushed a commit to vladak/OpenGrok that referenced this issue Apr 10, 2018
vladak pushed a commit to oracle/opengrok that referenced this issue Apr 11, 2018
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue May 8, 2018
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
jcfr added a commit to commontk/AppLauncher that referenced this issue May 17, 2018
(1) fix shell_session_update error: travis-ci/travis-ci#6307
(2) fix macOS build using pip2 instead of pip: travis-ci/travis-ci#8829 (comment)
jcfr added a commit to scikit-build/scikit-ci that referenced this issue Jul 7, 2018
jcfr added a commit to scikit-build/scikit-ci that referenced this issue Jul 7, 2018
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Aug 25, 2018
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Sep 4, 2018
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Oct 1, 2018
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Oct 5, 2018
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Jan 15, 2019
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
ConorIA added a commit to ConorIA/ec3.py that referenced this issue Jan 25, 2019
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Feb 22, 2019
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue Apr 9, 2019
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
qmfrederik added a commit to libimobiledevice-win32/libimobiledevice that referenced this issue May 21, 2019
pip is no longer available on the osx images, see travis-ci/travis-ci#8829
pzahemszky added a commit to pzahemszky/guizero that referenced this issue Nov 24, 2019
erikwilson pushed a commit to rancher/spur that referenced this issue Jun 8, 2020
ihordev95 added a commit to ihordev95/http-prompt that referenced this issue Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants