gen-quickstart icon indicating copy to clipboard operation
gen-quickstart copied to clipboard

Syntax Error Building Docker

Open elephlant opened this issue 4 years ago • 2 comments

I was following Docker Installation instructions for my Mac, but ran into issues while building the image.

Screenshot 2021-02-11 at 2 24 01 PM

I think the issue is that the python version in the image is v3.5 which does not know how to parse f-strings. Is there a quick workaround for this? A preliminary copy-and-paste-code-from-internet strategy yields no solution...

elephlant avatar Feb 11 '21 07:02 elephlant

I'm just a user myself and thus can't give an authoritative response, but maybe you could just use the Ubuntu 20.04 image I PRed a while ago - see https://github.com/probcomp/gen-quickstart/blob/master/Dockerfile.ubuntu-2004 ? Btw.: You should be able to push the Julia version in there up to 1.5.3 as well.

fplk avatar Feb 11 '21 08:02 fplk

That worked for me. Thank you, @fplk!

elephlant avatar Feb 25 '21 05:02 elephlant