BAC0 says "AttributeError: module 'BAC0' has no attribute 'connect'" #461
Unanswered
vishalbacnet
asked this question in
Q&A
Replies: 1 comment
-
Python 3.12 removed asyncore from the library which means that you must now use bacpypes3 and the async version of BAC0. you can test that by cloning the async branch. Pip install this branch Then open the REPL by using
once in the REPL, you will need to adapt a little to the usage of await...
|
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
-
Hi,
I have installed BAC0 library, i am jsut trying to run
bacnet = BAC0.connect()
bacnet.whois()
but getting error
bacpypes module missing, please install latest version using
$ "pip install bacpypes"
Discard this message if you are actually installing BAC0.
================================================================================
Import Error, refer to documentation or reinstall using
$ "pip install BAC0"
No module named 'asyncore'
Discard this message if you are actually installing BAC0.
AttributeError: module 'BAC0' has no attribute 'connect'
Can someone please help hoe to resolve it.
Beta Was this translation helpful? Give feedback.
All reactions