-
I'm new to this and am not a Python developer. That said, I'm hoping the issue I'm running into is a simple fix. I'm running on Windows 10 and have installed Python 3.10.2 and InfluxDB2 v2.2.1. I created a config file (vuegraf.json) based on the example and modified for my config (below) { EDIT I figured out the first issue below (forgot to install the dependencies), but now I am seeing a different issue.
Any thoughts? Thanks!! When I try to execute the Python script I get the following error message: That portion of the code is: InfluxDB v1import influxdb InfluxDB v2import influxDb2 from pyemvue import PyEmVue Any thoughts? Is this supported to run on Windows? Thanks! Mark |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hello, it's a little tough to get a sense of time from your post. Are you saying you originally had the influxdb module error, fixed it, and now have the signal error? If so, good, I'm tracking with you. In that case, it looks like Vuegraf has some complications when running directly on Windows, since Linux signals are slightly different from Windows signals. One way to eliminate Windows related issues is to use Docker. The README has instructions on how to run Vuegraf on Docker. Is that an option for you? |
Beta Was this translation helpful? Give feedback.
-
Sorry about that. You have it correct. I fixed the influxdb module error and then ran into the signal error. I did some reading and saw that, as you point out, Windows doesn't handle the SIGHUP call. As a test, I commented that line out and it executed successfully and added rows to my Influx db. The downside is that, in order to stop the program, I had to close the window instead of using Ctrl-C. I'll look into running a Docker instance, but I'm just testing for now. If that's the only downside (closing the window to stop the program) I may stick with what I have, but we'll see. Thanks for the response and for taking the time to put all this together! Mark |
Beta Was this translation helpful? Give feedback.
-
That explains a lot for me! Thanks! |
Beta Was this translation helpful? Give feedback.
Hello, it's a little tough to get a sense of time from your post. Are you saying you originally had the influxdb module error, fixed it, and now have the signal error? If so, good, I'm tracking with you. In that case, it looks like Vuegraf has some complications when running directly on Windows, since Linux signals are slightly different from Windows signals. One way to eliminate Windows related issues is to use Docker. The README has instructions on how to run Vuegraf on Docker. Is that an option for you?