Replies: 2 comments
-
No most definatly not Windows only. It was designed / tested in a linux environment. See code below. https://github.com/gijzelaerr/python-snap7/blob/master/snap7/common.py#L10 |
Beta Was this translation helpful? Give feedback.
0 replies
-
for me this works:
I think this might be related to the https://docs.python.org/3/library/runpy.html what distribution and python version are you using and how did you install snap7? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to create a dummy Snap7 server on a Linux machine to test a snap7 client. Executing the documented server from the command line "python -m snap7.server --port 102" failed with a runtime warning:
I then decided I'd create a class based on the Server class, but that complained as well. So I looked at the Server class code and it looks like it's looking for a snap7 DLL which is Windows only, I assume? So is the Snap7 Server only available on Windows?
Beta Was this translation helpful? Give feedback.
All reactions