IDEO-coLAB / pyfi

Quickly make Python functions available in node, or to a frontend client with pyfi-client: https://github.com/ideo-colab/pyfi-client
MIT License
3 stars 0 forks source link

PyFi fails when Python throws over stderr, even if error isn't fatal #6

Open ReidWilliams opened 6 years ago

ReidWilliams commented 6 years ago

Index.js causes PyFi to exit when any data is sent over the Python process' stderr. In some cases, users may want to ignore messages over stderr.

For example, when importing, Tensorflow often prints a non-fatal error "The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations" that I want to ignore.

pswoodworth commented 6 years ago

hmm interesting, are you sure you have the latest release installed (1.0.8)?

pswoodworth commented 6 years ago

It looks as if pyfi-starter was still using 1.0.7. I've upgraded it. Let me know if upgrading to 1.0.8 fixes the issue for you.