Closed fabelx closed 1 year ago
I encounter a similar issue. I was able to use Coercer v1.6 where the fcnt
l module is not used.
Hi,
The source of the problem was in the function get_ip_address_of_interface
here: https://github.com/p0dalirius/Coercer/blob/a76c9b433a533ea6d7bf49cf9957d6d1659dd622/coercer/network/utils.py#L12-L25
The problem is, I do not find a simple way to get the ip address from the interface name under windows. I wanted to check on which platform Coercer is running through if sys.platform == "win32":
but the fun thing about this is that under WSL, we get sys.platform = "linux"
, but no fcntl
module since we're still on windows.
I'm still looking into this.
Best regards,
Thanks for answering my question.
I'm trying to run Coercer on Windows but I'm facing with an error:
Found this question rror-no-module-named-fcntl.
Python 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:33:45) [MSC v.1929 64 bit (AMD64)] on win32