4

The python version of energyplus python plugin

I'm trying to learn how to use python plugin of energyplus. As you may know, energyplus comes with its own python package and standard libraries. I checked the python license in the installation folder of energyplus and it is version 2! (WHY IS THAT?)

I'm already using python version 3.7 in my system. If I want to use native libraries in my plugin code, It is recommended to point energyplus to the directory of the desired library (or copy them from my package to energyplus python package). Would it be a problem using different versions of python? If it is a problem, I would appreciate your advice...

Mehrdad Vojdani's avatar
1.1k
Mehrdad Vojdani
asked 2020-06-03 16:45:16 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-06-04 08:09:27 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

The wrong license appears to be distributed with EnergyPlus. You'll notice that the EnergyPlus includes python37.dll in its installation, so it is using Python 3.7. I will file a bug report on this, thanks for pointing it out.

EDIT:

I take that back. EnergyPlus is using the correct license that comes with Python 3, you can verify that yourself by comparing to the license that is distributed with Python 3. Python v3 uses a Python Software Foundation License v2, the software and license are versioned independently.

shorowit's avatar
11.8k
shorowit
answered 2020-06-04 13:43:59 -0500, updated 2020-06-04 14:18:40 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments