You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows 11 Pro (Build 22000 dev channel), in Windows or in WSL 2, Python version 3.9.6 (Windows) or version 3.9.9 (WSL 2), no service types found. This causes an issue with running examples/browser.py --find as well.
PowerShell output:
(.venv) PS C:\Users\user\Documents\python-zeroconf-test> pip install zeroconf
Collecting zeroconf
Downloading zeroconf-0.38.3-py3-none-any.whl (106 kB)
|████████████████████████████████| 106 kB 3.3 MB/s
Collecting ifaddr>=0.1.7
Downloading ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Installing collected packages: ifaddr, zeroconf
Successfully installed ifaddr-0.1.7 zeroconf-0.38.3
WARNING: You are using pip version 21.1.3; however, version 22.0.3 is available.
You should consider upgrading via the 'c:\users\user\documents\python-zeroconf-test\.venv\scripts\python.exe -m pip install --upgrade pip' command.
(.venv) PS C:\Users\user\Documents\python-zeroconf-test> python
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from zeroconf import ZeroconfServiceTypes
>>> print('\n'.join(ZeroconfServiceTypes.find()))
>>>
However, I can find at least two services by running dns-sd -B in Command Prompt:
C:\WINDOWS\system32>dns-sd -B
Browsing for _http._tcp
Timestamp A/R Flags if Domain Service Type Instance Name
12:39:21.916 Add 3 36 local. _http._tcp. CanonMF4800
12:39:21.916 Add 2 36 local. _http._tcp. Denon AVR-X1300W
Is this some sort of network adapter / driver issue with Python?
EDIT: Just did a fresh project with zeroconf on my raspberry pi 3, and it immediately found many services with browser.py --find. Seems to be something the issue with my Windows setup.
The text was updated successfully, but these errors were encountered:
I am having the same problem, only on Windows 11. A fresh install did not help. I tried Python 3.8, 3.11, 3.12 (also, adang1345's build of 3.12.5 which I sometimes use for Windows 7 compatibility).
Uh oh!
There was an error while loading. Please reload this page.
On Windows 11 Pro (Build 22000 dev channel), in Windows or in WSL 2, Python version 3.9.6 (Windows) or version 3.9.9 (WSL 2), no service types found. This causes an issue with running
examples/browser.py --find
as well.PowerShell output:
However, I can find at least two services by running
dns-sd -B
in Command Prompt:Is this some sort of network adapter / driver issue with Python?
EDIT: Just did a fresh project with zeroconf on my raspberry pi 3, and it immediately found many services with
browser.py --find
. Seems to be something the issue with my Windows setup.The text was updated successfully, but these errors were encountered: