Indigo on AWS AMI image

I’m running an AMI image on an t3a.medium instance. When I try to install indigo, following The YouTube tutorial “How to run Open edX Ironwood on AWS”, I get the error:

Collecting scipy==0.14.0 (from -r requirements/edx/base.txt (line 219))
  Downloading (35.3MB)
Traceback (most recent call last):
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 215, in main
    status =, args)
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/commands/", line 335, in run
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 749, in build
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/req/", line 380, in prepare_files
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/req/", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 821, in unpack_url
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 659, in unpack_http_url
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 603, in _download_url
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/utils/", line 46, in check_against_chunks
    for chunk in chunks:
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 571, in written_chunks
    for chunk in chunks:
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/utils/", line 139, in iter
    for x in it:
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/", line 560, in resp_read
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/urllib3/", line 436, in stream
    data =, decode_content=decode_content)
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/urllib3/", line 384, in read
    data =
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/", line 63, in read
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/", line 50, in _close
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/", line 275, in cache_response
    self.serializer.dumps(request, response, body=body),
  File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/", line 87, in dumps
**You are using pip version 9.0.3, however version 20.0.2 is available.**
You should consider upgrading via the 'pip install --upgrade pip' command.

Thank you in advance

Hi @bhernandez! What kind of EC2 instance are you running? With how much disk space?

I’m using a t3a.medium instance. By default it has a 16Gb Volume. I have upgrade the Volume to 32Gb because I got a previous “no space left on device” error when I tried to execute “images build openedx”

Can I suggest upgrading to a t3a.large instance for building the custom image? As I mentioned in the YouTube tutorial, 4Gb is a minimum for running Open edX but the recommended amount is 8 Gb.

Thank You very much, Regis. It works fine in a t3a.large instance. Indigo theme also installed and working.

1 Like