Open zhenyulin opened 7 years ago
the GCC version I'm using is gcc (Debian 4.9.2-10) 4.9.2
OK, the build issue resolved when I use Python3. Still would be great to package it as a docker image.
@zhenyulin were you able to create a working docker image?
@zhenyulin I'm running into the same issue on the dependencies, could you share further what you did to get it working?
@kylelee715 I fixed my issue running installation with Python3, hth
@zhenyulin please submit your dockerfile in a PR!
Let me have a look at creating a docker image for this later, will post it here when done.
I'm not a very experienced pythonista, but I think this is written for python 2.x, not python 3. This one-liner Dockerfile successfully builds and runs:
FROM python:2-onbuild
Just put that line into a Dockerfile
in the same dir, then build it with docker build . -t trump2cash
. Then you can run any of the scripts like so: docker run trump2cash python benchmark.py
.
Note that you will need to supply all the env vars somehow. Docker compose and a .env file or command line args would both work.
This will help shorten the setup process.
Also currently I'm getting some errors during dependency installation as following