Skip to content

Missing tomllib dependency #361

@EmmanuelMess

Description

@EmmanuelMess

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions