LaboratoireMecaniqueLille / crappy

Command and Real-time Acquisition Parallelized in Python
https://crappy.readthedocs.io/en/stable/
GNU General Public License v2.0
78 stars 16 forks source link

Crappy failed to start! issue #8

Closed Mordorkun closed 2 years ago

Mordorkun commented 2 years ago

Hello, I'm trying to install crappy on a Windows 10 machine and I have this message: "Crappy failed to start!" when I run the example generator.py

Is there a way to know what's wrong with my installation?

Thanks for the reply

Dad0u commented 2 years ago

Hello @Mordorkun Crappy can be used with only Numpy installed but some functionalities will be unavailable. In the example demonstrating the use of the generator, Grapher Blocks are used to display the generated signal. These Blocks require the Matplotlib module. Please install it (you can simply use pip install matplotlib) and try again.

I believe a message similar to "Matplotlib is required to use this functionnality, please install this module and try again" was printed in the terminal. If this is not the case or if installing matplotlib does not fix the issue, please reply with the complete output of the program to help us identify the issue.

Mordorkun commented 2 years ago

Hello @Dad0u, Thanks for the answer. I made a reinstall of python this morning, including matplotlib and it works now. Thanks for your work!

Dad0u commented 2 years ago

Glad to know it is working.

I added a mention in the README to recommend the installation of Matplotlib as Grapher Blocks are often used in the examples and in real tests.