hackingthemarkets / tradekit

a collection of open source server components and Python libraries for financial data projects and automated trading
Apache License 2.0
637 stars 250 forks source link

Error building docker image #3

Open kamal-us opened 3 years ago

kamal-us commented 3 years ago

Command: docker-compose up

Error:

  Downloading Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Collecting torch
  Downloading torch-1.7.1-cp38-cp38-manylinux1_x86_64.whl (776.8 MB)
Killed
ERROR: Service 'web' failed to build : The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 137
NakamotoYuki commented 3 years ago

requirements.txt > L87 Try to erase torch.

eervin123 commented 3 years ago

Pretty sure this was a memory issue, I haven't tried myself, but this issue was brought up earlier and resolved. https://github.com/hackingthemarkets/tradekit/issues/2#issuecomment-757509866

robinarthur commented 3 years ago

i had the same issue. it worked for me after i did the docker login command.