lbl-srg / modelica-buildings

Modelica Buildings library
237 stars 153 forks source link

Unable to translate example file for Python36 block #2554

Open karthikeyad-pnnl opened 3 years ago

karthikeyad-pnnl commented 3 years ago

Hello,

I am trying to translate and simulate the models in package Buildings.Utilities.IO.Python36.Examples. I am using Dymola on Windows 10 OS to access the latest version of the Buildings library.

  1. I have assigned the Pythonpath path variable as well as added the location of the dynamic linked library files in the repo to the system path, as instructed in the User Guide.
  2. I run the command "Advanced.CompileWith64=2" in the command terminal in Dymola.
  3. When I run the command "Simulate and plot", the model translation fails with the error "LINK : fatal error LNK1181: cannot open input file 'python3.6m.lib'".

Please let me know if I should attach any logs that might help you understand the problem better.

Thanks!

kentakahas commented 1 year ago

I am also getting the same error. I have the following set up on my computer (Winows 10, Dymola 2021, Buildings 8.1.0):

Getting the same error as above saying "LINK : fatal error LNK1181: cannot open input file 'python3.6m.lib'"

Let me know if I'm missing anything or if I need to provide more information.

Thanks, Ken