openlumi / homeassistant_on_openwrt

Install Home Assistant on your OpenWrt device with a single command
MIT License
157 stars 43 forks source link

Setup failed for telegram_bot #5

Closed Webcocon closed 3 years ago

Webcocon commented 3 years ago

Hi. When I'm try to add telegram_bot in Home Assistant:

Logger: homeassistant.util.package Source: util/package.py:98 First occurred: 19:06:55 (1 occurrences) Last logged: 19:06:55

Unable to install package python-telegram-bot==13.1: ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-92p4tyow/overlay --no-warn-script-location -v --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output. WARNING: You are using pip version 20.1.1; however, version 21.1.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

Webcocon commented 3 years ago

Install python-telegram-bot manually. Command: pip install python-telegram-bot==13.1 All work fine!