This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

how to install CBC.Solve packages to FEniCS?

+1 vote

Hi there,

as I was trying to use the packages developed by CBC, namely the CBC.Solve module for FEniCS, I got stuck.

I am using Docker Toolbox to run FEniCS, I have tried to share my files with my fenics images using the command:

docker run -ti -v $(pwd):/home/fenics/shared quay.io/fenicsproject/stable

and used the following command to install CBC.Solve:

sudo python setup.py install

it went ok, but the next time I want to use it then I'll have to re-install again. the worst thing is that I cannot get it installed for my container that has the notebook files. How should I resolve this issue?

I guess this serves as a general question in concern of adding new python packages to the docker container in which my fenics is running.

thanks!!!

asked Feb 27, 2017 by davidson FEniCS Novice (150 points)

1 Answer

+2 votes

See the FEniCS in Docker page on Read the Docs - especially under Suggested workflows and Create a custom image for my project.

answered Feb 27, 2017 by johannr FEniCS Expert (17,350 points)
...