ModuleNotFoundError: No module named 'omnetpp.scave.impl_charttool'

188 views
Skip to first unread message

Surya Pusapati

unread,
Apr 12, 2022, 11:07:22 PM4/12/22
to OMNeT++ Users
Hello all,

While plotting graphs in the analysis file (*.anf) using "plot using Line graph with Matplotlib" I got the following error.

An error occurred. Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/home/surya/omnetpp6.0pre11/omnetpp-6.0pre11/ide/plugins/org.omnetpp.scave.pychart_6.0.0.210423-26668997ef/python/omnetpp/scave/chart.py", line 15, in <module>
    from omnetpp.scave.impl_ide import chart as impl
  File "/home/surya/omnetpp6.0pre11/omnetpp-6.0pre11/ide/plugins/org.omnetpp.scave.pychart_6.0.0.210423-26668997ef/python/omnetpp/scave/impl_ide/chart.py", line 7, in <module>
    from omnetpp.scave import results, plot
  File "/home/surya/omnetpp6.0pre11/omnetpp-6.0pre11/ide/plugins/org.omnetpp.scave.pychart_6.0.0.210423-26668997ef/python/omnetpp/scave/plot.py", line 42, in <module>
    from .impl_charttool import plot as impl
ModuleNotFoundError: No module named 'omnetpp.scave.impl_charttool'

I can see there was a missing module in the following python file. I am not sure how to update the module using the pip command.

Can anyone help resolve this??

Best,
Surya

Surya Pusapati

unread,
Apr 13, 2022, 1:19:07 PM4/13/22
to OMNeT++ Users
Can anyone help me out??
How to update the following plugin?
How to re-install the following python package in OMNeT++?

Thank you in advance.

Surya

Rudolf Hornig

unread,
Apr 14, 2022, 4:10:10 AM4/14/22
to OMNeT++ Users
The python module in question is not in the python repo, but rather in omnetroo/python folder. You most likely forgot to 'source setenv' which would have set the PYTHON_PATH variable properly.

As a side note: do NOT use 6.0pre11. Use the final 6.0 version.

Reply all
Reply to author
Forward
0 new messages