Ericsson / eva

EVA is a web-based tool for efficient annotation of videos and image sequences and has an additional tracking capabilities
BSD 2-Clause "Simplified" License
121 stars 25 forks source link

Docker file fails to build eva #17

Closed jascase901 closed 4 years ago

jascase901 commented 4 years ago

see pull request for fix https://github.com/Ericsson/eva/pull/16

steps to reproduce

jascase901 commented 4 years ago

I realized this actually fixes it because I was using llvmlite==0.31.0 and you guys were using llvmlite==0.32.0. Ill spend an hour or so looking into it.

jascase901 commented 4 years ago

the real issue is

https://pypi.org/project/llvmlite/

Compatibility

llvmlite works with Python 3.6 and greater.

As of version 0.33.0, llvmlite requires LLVM 9.0.x.

Historical compatibility table:

So our options to fix this are to upgrade our python to 3.6m

I tested changing the first line in the Dockerfile to this FROM python:3.6-slim and llvmlite built fine.

Or we could use version 0.31.0

manishs17 commented 4 years ago

@jascase901 , I like the 2nd solution you suggested, i.e upgrade to python 3.6-slim in Dockerfile and just leave rest as it is. people who are not using Docker might need llvmlite in requirements.txt file.

manishs17 commented 4 years ago

updated python in docker to 3.6-slim