I am trying to create a Docker image with graph-tool installed along with a
number of geospatial C libraries with Debian stretch OS. Everything but
graph-tool has been set up, and is available here (
https://hub.docker.com/r/kuanb/peartree/).

The Dockerfile to create that image can be viewed here (
https://github.com/kuanb/peartree/blob/ea45bdd0a045c1bb7769f88801b5dab85c3f9d46/docker/Dockerfile
).

I attempt to install graph-tool in a container from the above image with
the following:


sed -i -e '$a\
deb http://downloads.skewed.de/apt/stretch stretch main\
deb-src http://downloads.skewed.de/apt/stretch stretch main'
/etc/apt/sources.list && \
apt-get update && \
apt-get install python3-graph-tool


This appears to be successful. I then go into a Python3 repl and
attempt to import
graph_tool which results in a ModuleNotFoundError.

I suspect the error has to do with versions of Python3 and where the
library (graph-tool) is being placed versus where pip is placing its
libraries. Unfortunately, I am not entirely confident navigating this and
would be appreciative of any guidance - I suspect I am "almost there" and
someone on this list may be more familiar with setting this up and could
point me in the right direction.

Thanks in advance and happy new year. :)

-- 
*KUAN BUTTS*
kuanbutts.com
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to