You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a new venv and installing python -m pip install devsimpy misses tomllib dependency.
$ devsimpy
Importing wxPython 4.2.3 gtk3 (phoenix) wxWidgets 3.2.7 for python 3.10.12 on Linux (#63~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 22 19:00:15 UTC 2) platform...
PyPDEVS Kernel in version 2.4.1 is not loaded.
Please install it in the directory .../DEVSimPy/.venv/lib/python3.10/site-packages/devsimpy/DEVSKernel/PyPDEVS/pypdevs241 using git (https://github.com/kdheepak/pypdevs.git)
Traceback (most recent call last):
File ".../DEVSimPy/.venv/bin/devsimpy", line 5, in <module>
from devsimpy.devsimpy import main
File ".../DEVSimPy/.venv/lib/python3.10/site-packages/devsimpy/devsimpy.py", line 131, in <module>
import Container
File ".../DEVSimPy/.venv/lib/python3.10/site-packages/devsimpy/Container.py", line 62, in <module>
import ConnectDialog
File ".../DEVSimPy/.venv/lib/python3.10/site-packages/devsimpy/ConnectDialog.py", line 29, in <module>
from Utilities import load_and_resize_image
File ".../DEVSimPy/.venv/lib/python3.10/site-packages/devsimpy/Utilities.py", line 116, in <module>
import tomllib
ModuleNotFoundError: No module named 'tomllib'
Activity
EmmanuelMess commentedon Jul 5, 2025
The problem seems to be related with the python version, installing on python3.12 works.