# Setuptools disappeared from Arm64 and s390x build images

**URL:** <https://travis-ci.community/t/setuptools-disappeared-from-arm64-and-s390x-build-images/9985>\
**Category:** Python\
**Tags:** bug, multi-cpu-arch\
**Created:** [September 24, 2020, 9:02am UTC](https://travis-ci.community/t/setuptools-disappeared-from-arm64-and-s390x-build-images/9985 "2020-09-24T09:02:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitrou](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/pitrou/32/4621_2.png) [@pitrou](https://travis-ci.community/u/pitrou)\
**Post date:** [September 24, 2020, 9:02am UTC](https://travis-ci.community/t/setuptools-disappeared-from-arm64-and-s390x-build-images/9985/1 "2020-09-24T09:02:54Z")

</div>

We use `pip3 install ...` in our Arm64 and s390x builds. It used to work with the previous build images, example [here](https://travis-ci.org/github/pitrou/arrow/jobs/729705593) (arm64 image build “Tue May 26 10:08:22 UTC 2020”).

It doesn’t work anymore with the new build images, example [here](https://travis-ci.org/github/apache/arrow/jobs/729823994) (arm64 image build “Tue Sep 15 13:14:36 UTC 2020”).

```bash
$ pip3 install -e dev/archery[docker]
Obtaining file:///home/travis/build/apache/arrow/dev/archery
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'

```

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [October 5, 2020, 10:22am UTC](https://travis-ci.community/t/setuptools-disappeared-from-arm64-and-s390x-build-images/9985/2 "2020-10-05T10:22:10Z")

</div>

> [@pitrou](#):
>
> ` ModuleNotFoundError: No module named 'setuptools'`

This thread may be of help to you: [Python development versions no longer include pip (due to virtualenv 20.x) - #5 by BanzaiMan](https://travis-ci.community/t/python-development-versions-no-longer-include-pip-due-to-virtualenv-20-x/7180/5)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [October 6, 2020, 1:40am UTC](https://travis-ci.community/t/setuptools-disappeared-from-arm64-and-s390x-build-images/9985/3 "2020-10-06T01:40:30Z")

</div>

`pip3` – or any other modules – are not guaranteed to be preinstalled for the system Python: [https://docs.travis-ci.com/user/reference/bionic/#python-support](https://docs.travis-ci.com/user/reference/bionic/#python-support) mentions nothing of the kind. In fact, [it’s missing altogether in the AMD64 image](https://travis-ci.com/github/native-api/test_travis/jobs/395668875).

Although a preinstalled Pip without Setuptools is definitely broken (and it’s a mystery to me how that could happen), you cannot rely on its presence anyway.
