A
A
amimamoya2021-03-10 19:21:35
Python
amimamoya, 2021-03-10 19:21:35

Application crashes after compiling via pyinstaller. What is the problem?

After compilation, it gives a traceback, it says that the problem is not even in my code, but in matplotlib. The program looks for it in a rather strange way. What's the matter? 6048f129eed1d042490833.png
After checking this path, I found my project files there, nothing more.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy _, 2021-03-10
@GeneD88

matplotlib wants to use the matplotlibrc config .
You can specify the path to it via --add-data=matplotlibrc

https://matplotlib.org/stable/tutorials/introducto...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question