Skip to content

Python start('wait') problem on Docker #373

@aivanova5

Description

@aivanova5

Problem description

Can not execute inside the python script inside a Docker container.

root@6285e917fbc0:/model/example_3# gridlabd main.py
Traceback (most recent call last):
  File "main.py", line 16, in <module>
    gldcore.start('wait')
gridlabd.exception: unable to start gridlabd in this module instance
FATAL    [INIT] : shutdown after command line rejected
root@6285e917fbc0:/model/example_3# python3 main.py
Traceback (most recent call last):
  File "/model/example_3/main.py", line 9, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

Steps to reproduce

Run example 3 or similar inside a Docker container
https://github.com/arras-energy/gridlabd/tree/e0dedd7630f06ea93a10cead138d9c4d6339c13c/python/examples/example_3

Expected behavior

Successful run

System information

  • GridLAB-D version: Arras Energy 4.3.14-250209 (master) Linux
  • Operating system: Linux 08d4a9019f0d 6.12.54-linuxkit Create version 4.3.3 #1 SMP Tue Nov 4 21:21:47 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions