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

plt.show(); #14

Open
AirJunda opened this issue Apr 8, 2020 · 2 comments
Open

plt.show(); #14

AirJunda opened this issue Apr 8, 2020 · 2 comments
Labels

Comments

@AirJunda
Copy link

AirJunda commented Apr 8, 2020

I tried to follow the demo but when I type plt.show(), My IDE gives this warning:

Unhandled exceptions: java.io.IOException, com.github.sh0nk.matplotlib4j.PythonExecutionException

As a result, the code failed to compile. Please try to investigate this issue.

@sh0nk
Copy link
Owner

sh0nk commented Jul 24, 2020

@AirJunda
Sorry for replying late. Do you still have the problem?

When you see PythonExecutionException with a very simple case such as the demo, the most suspicious cause is that the python runtime misses matplotlib library or such environmental problem. Could you check your python environment again? If you put the detailed error log with python Traceback, I could help further investigation.

@sh0nk sh0nk added the question label Jul 24, 2020
@awambua
Copy link

awambua commented Jun 18, 2022

Plot plt = Plot.create(PythonConfig.pythonBinPathConfig("/Users/sh0nk/my_repos/.venv/bin/python"));

Replace with your python.exe path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants