Hi Joris,
I'm also looking at the installation instructions on the wiki-page (
https://github.com/casadi/casadi/wiki/InstallationInstructions). It says that after extracting the files, you can immediately test out the installation. When I'm working with a previous version of casadi, I don't need to use
sys.path.append("casadiinstalldir") and I can't see that I have updated any PYTHONPATH variable.
In this new installation (it does not look as though it is really installed), it does not work although I use sys.path.append("casadiinstalldir").
I have windows 8 64 bit. What I have done is to install Spyder via python(xy), and then download casadi version 2.3 ("looking for the latest version?"). After downloading casadi, I unpacked all files to a folder with the same name in the "downloads" folder. According to the wiki page, everything should work now, but it all sounds a bit too simple =)
I copy the test message in the Casadi wiki page, and nothing works.
My error message is:
runfile(r'C:\Users\Siri Mathisen\.spyder2\.temp.py', wdir=r'C:\Users\Siri Mathisen\.spyder2')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 487, in runfile
execfile(filename, namespace)
File "C:\Users\Siri Mathisen\.spyder2\.temp.py", line 11, in <module>
from casadi import *
File "C:\Users\Siri Mathisen\Downloads\casadi-python27-numpy1.9.1-v2.3.0\casadi\__init__.py", line 34, in <module>
CasadiOptions.setCasadiPath(os.path.dirname(__file__))
NameError: name 'CasadiOptions' is not defined
Do you know what the mistake can be?
Best regards, Siri Mathisen