Closed keivanzavari closed 5 years ago
Casadi dev here. Concerning the custom docker image, libgfortran needs to be installed (via apt). I'm confused how ipopt bundled with casadi is failing for you. What is the error?
Unrelated, lack of Dockerfile shouldn't prevent you from creating a derived docker layer that just pulls python-tk...
Hi Joris,
I install omg-tools via pip install
. That's why I don't expect to see an error with Casadi. I have posted the error up here... I have installed gfortran
.
I did pull from tmercy/omg-tools:firsttry
and installed python-tk
over it. That's OK. But I would like to have my own Docker script.
It's libgfortran that is needed. This missing pip dependency was fixed in casadi 3.4, but omgtools is based on 3.3
You're right. For future reference, it's libgfortran3
that is needed. If you like I can add the Dockerfile.
Hi, I am trying to run omg-tools but I haven't had much luck. I think this repo can benefit from a better installation guide. I am happy to make one once I am able to run omg-tools. So far, these are the problems:
Dependency
python-tk
is also a dependency. Otherwise loading omg-tools module gives an error ofTkinter
.Docker image is not working
It gives the same
Tkinter
error. Here you see the error:custom docker image
I created my own docker image as a workaround and installed
omg-tools
(which pulls Casadi) andipopt
. But then Casadi complains about Ipopt installation. Installation of ipopt can also be tricky, and I expected casadi to come with some explanation there. This is the script that install ipopt:inside the zipped Ipopt source, I have already included its dependencies like Blas. Inside the docker container however I still cannot run any of the examples. This time with Casadi error:
LD_LIBRARY_PATH
andPATH
are already pointing to ipopt installation. Although the path/home/travis/build/...
is rather strange to see inside docker container.Conclusion
It seems that the docker image provided by @timmercy doesn't have
Ipopt
issue but suffers frompython-tk
. Maybe sharing yourDockerfile
would solve the issue here.