Problems with python plotting tools in the IDE #1518
|
Hello all, ERROR: There was an exception while executing the Python Proxy on the Python Side. |
Replies: 1 comment 1 reply
|
This traceback matches a Matplotlib 3.11 compatibility break. OMNeT++ 6.4.0 accesses Temporarily add this to the chart script to check the interpreter and version actually used by the IDE: import sys
import matplotlib
print(sys.executable)
print(matplotlib.__version__)If it reports 3.11.x, try Matplotlib 3.10.9 in that environment. Close the IDE, then run this from your OMNeT++ 6.4.0 root directory: source setenv
python3 -c "import sys; print(sys.executable)"Check that the interpreter matches the chart's output. If it does: python3 -m pip install "matplotlib==3.10.9"
omnetppThen reopen the chart and try the navigation controls again. Reinstalling alone can reproduce the problem because 6.4.0's requirements permit Matplotlib 3.11. The compatibility issue is also tracked in #1519. This is based on the released source; the full macOS IDE was not tested here. |
This traceback matches a Matplotlib 3.11 compatibility break. OMNeT++ 6.4.0 accesses
self.mode._navigate_mode, which exists in Matplotlib 3.10.9 but was removed in 3.11.0.Temporarily add this to the chart script to check the interpreter and version actually used by the IDE:
If it reports 3.11.x, try Matplotlib 3.10.9 in that environment. Close the IDE, then run this from your OMNeT++ 6.4.0 root directory:
Check that the interpreter matches the chart's output. If it does:
python3 -m pip install "matplotlib==3.10.9" omnetppThen reopen the chart and …