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

Torch build error #2

Closed arvin1408 closed 3 years ago

arvin1408 commented 3 years ago

On MacOS Big Sur

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

tywangcharlie commented 3 years ago

I got the same error message. After searching for "docker returned a non-zero code: 137", ERROR: Build process returned exit code 137 during Docker build on Tutum, it might be caused by docker out of the memory.

Simply scaling up the memory allocation setting in Docker > Preference > Memory fixes the problem.

arvin1408 commented 3 years ago

I got the same error message. After searching for "docker returned a non-zero code: 137", ERROR: Build process returned exit code 137 during Docker build on Tutum, it might be caused by docker out of the memory.

Simply scaling up the memory allocation setting in Docker > Preference > Memory fixes the problem.

Increased Docker memory to 5.0GB and build was successful. Thanks!