Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading module matplotlib.pyplot? #288

Closed
bobododosjl opened this issue Nov 19, 2022 · 7 comments
Closed

Error loading module matplotlib.pyplot? #288

bobododosjl opened this issue Nov 19, 2022 · 7 comments
Labels
compile User has trouble compiling on their own platform.

Comments

@bobododosjl
Copy link

No description provided.

@goldbattle
Copy link
Member

goldbattle commented Nov 19, 2022 via email

@bobododosjl
Copy link
Author

I already check that , it satisify the requirements, still meet the same problem。

@bobododosjl
Copy link
Author

You need to make sure you have matplotlib in your path and installed on your system.

On Sat, Nov 19, 2022 at 5:32 AM bobododosjl @.> wrote: — Reply to this email directly, view it on GitHub <#288>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ6TYW5IN5GX52W352EX23WJCUFDANCNFSM6AAAAAASFH3TSE . You are receiving this because you are subscribed to this thread.Message ID: @.>
I already check that , it satisify the requirements, still meet the same problem.

@goldbattle
Copy link
Member

Can you see if this issue helps you: lava/matplotlib-cpp#8

Try running the following to see if you run into any errors.

python3
import matplotlib.pyplot 

@goldbattle goldbattle added the user-platform User has trouble running on their own platform. label Nov 21, 2022
@bobododosjl
Copy link
Author

mport matplotlib.pyplot

is ok, i run the command rosrun ov_eval plot_trajectories posyaw /home/bobododo/GNC/MSF/workspace4/catkin_ws_ov/src/open_vins/ov_eval/example/stamped_groundtruth.txt /home/bobododo/GNC/MSF/workspace4/catkin_ws_ov/src/open_vins/ov_eval/example/stamped_traj_estimate.txt
still meet the following problem:

[COMP]: 36382 poses in stamped_groundtruth => length of 80.63 meters
[COMP]: 3638 poses in stamped_traj_estimate => length of 79.92 meters
terminate called after throwing an instance of 'std::runtime_error'
what(): Error loading module matplotlib.pyplot!
[1] 8442 abort (core dumped) rosrun ov_eval plot_trajectories posyaw

@goldbattle
Copy link
Member

Run in your terminal and see if you can import matplotlib yourself:

python3
import matplotlib.pyplot 

@goldbattle
Copy link
Member

Feel free to reopen if the above commands ran successfully, and you still had the problem.

@goldbattle goldbattle added compile User has trouble compiling on their own platform. and removed user-platform User has trouble running on their own platform. labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile User has trouble compiling on their own platform.
Projects
None yet
Development

No branches or pull requests

2 participants