First time here? Check out the Help page!
2016-02-06 19:18:52 -0500 | commented answer | Python-Dymola Interacting Issues @Michael Wetter: thank you very much! I very much appreciate your help! |
2016-02-03 00:26:50 -0500 | commented answer | Python-Dymola Interacting Issues @Michael Wetter: Yes, I also got a segmentation fault on 64bit without importing any module, and I have no idea where is going wrong. |
2016-01-28 04:11:36 -0500 | received badge | ● Nice Question (source) |
2016-01-27 17:58:02 -0500 | commented answer | Python-Dymola Interacting Issues Yes, I did. For 32bit case, I can correctly run the example. However, if I add "import numpy", dymola shows error. In the meanwhile, I use the 64bit library inside buildingspy package with libpython2.7.so(64bit) from my system python folder, and set dymola compiler to 64bit. When I run the buildingspy example again, dymola shows segment fault. Is there a way to make buildingspy use 64bit machine or to let me import extra python package such as numpy or sklearn? Thank you! |
2016-01-27 09:38:45 -0500 | received badge | ● Student (source) |
2016-01-27 09:00:27 -0500 | asked a question | Python-Dymola Interacting Issues Hi, I am using Modelica Building Library from Berkeley lab. I am interested in using Python-Dymola interacting function, and I can successfully run the example: However, when I try to import modules, numpy, sklearn, or tensorflow, in testFunctions.py, Dymola responses errors:
I tried to insert the following path but it still dose not work.
Do I have to generate a new dynamic linked library like libpython2.7.so? Could anyone let know how to generate a new library for Dymola? Thank you very much. |