Dear community,
Despite 3 days of searching this forum, I could not find a solution to my problem (though there are similar topics already).
Sorry if I just didn't find the missing link.
I want to use CasADi with Python(x,y) Version 2.7.9 (also tried with 2.7.10) on Windows 7, 64bit. I am using Spyder(IDE)
The hyperlink "download page" in the phrase "On our
download page, locate and download the binary archive of your choice:", by the way, does not work.
As I am new to GitHub I am not completely sure if this was the proper way...
Now the problem is, that Python cannot find casadi, giving me the error message:
ImportError: No module named casadi
My code is simply
import sys
sys.path.append("C:\...\CasADi\Git\casadi")
import casadi
...as indicated on the casadi installation site. For my coding I simply used a new file without starting any project in Spyder.
I tried several things I found in this forum. At least for one other troubled user the problem was solved by the update to version 2.4.1 of casadi, sadly not for me.
My casadi folder is outside of the Python folder (as recommended somewhere in the forum)
For me it is also not clear until which subdirectory I have to indicate my path in the sys.path.append("...") command.
To make this and the coding more clear, I added a screenshot.
I participated the 2014 Summer School on NOC in Freiburg where CasAdi was introduced. From there I slightly remember that a (simple) installation of the tool was done. I am wondering if, now, there is no installation necessary at all, respectively, if an installation is still possible?
Every help would be highly appreciated! Thank you in advance!
cheers