theengs / decoder

Efficient, portable and lightweight library for Internet of Things payload decoding.
https://decoder.theengs.io
GNU General Public License v3.0
116 stars 38 forks source link

Is Theengs supported running in Windows? #537

Closed simowilso closed 2 months ago

simowilso commented 4 months ago

Describe the bug Installing Theengs in Windows results in numerous errors Not sure if it's supported?

To Reproduce Steps to reproduce the behavior:

pip install TheengsGateway

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

https://pastebin.com/2T4YwMwp

Environment Additional context Add any other relevant context about the problem here.

koenvervloesem commented 4 months ago

Installing Theengs Gateway builds Theengs Decoder, which fails according to your pastebin output because it can't find the necessary build tools: "Building windows wheels for Python 3.12 requires Microsoft Visual Studio 2022."

We don't support Windows officially, but in principle it should work if you manage to build it.

1technophile commented 4 months ago

I have it working on Windows 11 but I have Microsoft Visual Studio installed

simowilso commented 4 months ago

I've installed VS2022 but same error. Not sure if i have to install some extra package(s) in VS?

Perhaps running Theengs on a Mac is simpler? I don't have a Linux laptop available right now and it won't run on WSL (I've raised a separate issue for that)

DigiH commented 4 months ago

Perhaps running Theengs on a Mac is simpler? I don't have a Linux laptop available right now and it won't run on WSL (I've raised a separate issue for that)

While running fine, unfortunately on macOS there are no proper MAC addresses being published, but random UUIDs, a macOS wide Bluetooth feature to obfuscate disctinct MAC addresses. Will be good enough for some sample messages from your Victron gear, but not really as a constant gateway for inclusion in a controller set-up.

I've installed VS2022 but same error. Not sure if i have to install some extra package(s) in VS?

Possibly a CMake extension? And is your Python version 3 on Windows?

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.