PyFMI is a package for loading and interacting with Functional Mock-Up Units (FMUs) both for Model Exchange and Co-Simulation, which are compiled dynamic models compliant with the Functional Mock-Up Interface (FMI)
I have installed successfully jmodelica and I have tested it through jupyter notebook. However, when I am trying to do the same procedure, but then open spyder I am getting an error.
Specifically, what I am doing is the following:
open anaconda terminal
activate my environment in which spyder is installed
run setenv.bat 64
spyder
I am getting the following error:
Fatal Python error: initfsencoding: unable to load the file system codec
File "C:\JModelica.org-2.4\\Python27\Python_64\lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
I have installed successfully jmodelica and I have tested it through jupyter notebook. However, when I am trying to do the same procedure, but then open spyder I am getting an error.
Specifically, what I am doing is the following:
open anaconda terminal
activate my environment in which spyder is installed
run setenv.bat 64
spyder
I am getting the following error:
Any idea of what is going on?