Use JModelica in Spyder/Python -
i using jmodelica simulation of modelica models. jmodelica.org python interface enables users use python scripting interact modelica models; jmodelica.org not python package/library - python packages part of jmodelica , not standalone. if open ipython.bat jmodelica - call c:\jmodelica.org-2.0\setenv.bat
. setenv.bat
defines , sets different environmental variables including set pythonpath=%jmodelica_home%\python;%pythonpath%
required site-packages located.
i use anaconda/spyder developments , debugging, great use jmodelica in spyder. naive idea create new environment in anaconda , use intepreter, ipthon, pythonpath (which created when /jmodelica.org/ipython.bat
is called) etc. jmodelica.
i know how create new environment in anaconda , how start python within environment. not work.
i tried change settings within spyder
another idea use startup file ipyhon.
Comments
Post a Comment