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 https://files.pythonhosted.org/packages/13/b2/70a4992e0ef711122ba1d7fc0edc5fe121b105f768c020eff1ffac2ea8a0/scipy-0.14.0-cp27-cp27mu-manylinux1_x86_64.whl (35.3MB)
Exception:
Traceback (most recent call last):
File "/openedx/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/openedx/venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/utils/hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 571, in written_chunks
for chunk in chunks:
File "/openedx/venv/local/lib/python2.7/site-packages/pip/utils/ui.py", line 139, in iter
for x in it:
File "/openedx/venv/local/lib/python2.7/site-packages/pip/download.py", line 560, in resp_read
decode_content=False):
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/urllib3/response.py", line 436, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/urllib3/response.py", line 384, in read
data = self._fp.read(amt)
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 63, in read
self._close()
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 50, in _close
self.__callback(self.__buf.getvalue())
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 275, in cache_response
self.serializer.dumps(request, response, body=body),
File "/openedx/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 87, in dumps
).encode("utf8"),
**MemoryError**
**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