Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
4

The python version of energyplus python plugin

asked 2020-06-03 16:45:16 -0600

updated 2020-06-04 08:09:27 -0600

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...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-06-04 13:43:59 -0600

updated 2020-06-04 14:18:40 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

Asked: 2020-06-03 16:45:16 -0600

Seen: 410 times

Last updated: Jun 04 '20