Don't work after upgrade python to 3.8.6 [SOLVED]
See original GitHub issueDon’t work anymore with python 3.8.6 (HA core in venv 0.116.4)
tried 0.6.13 and 0.7.3beta version
This is error in log:
Oct 19 22:29:20 raspberrypi hass[3904]: 2020-10-19 22:29:20 ERROR (Thread-7) [root] Uncaught thread exception
Oct 19 22:29:20 raspberrypi hass[3904]: Traceback (most recent call last):
Oct 19 22:29:20 raspberrypi hass[3904]: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
Oct 19 22:29:20 raspberrypi hass[3904]: self.run()
Oct 19 22:29:20 raspberrypi hass[3904]: File "/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 129, in run
Oct 19 22:29:20 raspberrypi hass[3904]: mysocket = aiobs.create_bt_socket(self._interface)
Oct 19 22:29:20 raspberrypi hass[3904]: File "/srv/homeassistant/lib/python3.8/site-packages/aioblescan/aioblescan.py", line 1280, in create_bt_socket
Oct 19 22:29:20 raspberrypi hass[3904]: sock = socket.socket(family=socket.AF_BLUETOOTH,
Oct 19 22:29:20 raspberrypi hass[3904]: AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'
Model LYWSDCGQ
config:
- platform: mitemp_bt
batt_entities: true
pi@raspberrypi:~ $ sudo getcap readlink -f \
which python3``
/usr/local/bin/python3.8 = cap_net_admin,cap_net_raw+eip
Issue Analytics
- State:
- Created 3 years ago
- Comments:19
Top Results From Across the Web
Don't work after upgrade python to 3.8.6 [SOLVED] · Issue #125
When googling this error, I found this which says that your python is build without Bluetooth socket support. Seems like your python binary...
Read more >Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
Hi, I tried to upgrade Python 3.8.10 to 3.10 on Ubuntu : Ubuntu 20.04.4 LTS but we hit a blocker and wondering whether...
Read more >Python 3.8.6 says I have a newer version of Python installed ...
First check the version of Python by entering to the console using the command "python" in Command Prompt or Terminal to see if...
Read more >Terminal not opening up after upgrading python to 3.7
This way the upgrade to 3.7 is useless. You should edit the gnome-terminal file: Open a terminal and issue the following command:
Read more >How to upgrade to Python 3.8 on Ubuntu 18.04 LTS - isw blog
1) run 'sudo apt-get remove python3.8', to undo the damage done by this article. ... 3) finally after all the packages are installed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks, works for me!
We are getting there…, can you show your config? Battery sensors are called sensor.mi_battery_MAC, so they might have changed names compared to earlier versions.