Comments (14)
Have you installed "telegram"?
If so, that might be the culprit.
from impfbot.
@sibalzer maybe there is an issue with telegram=0.0.1
being listed in requirements.txt
?
from impfbot.
could you run:
pip3 install -r requirements.txt
and post the output? (do you run raspbian or noobs?)
from impfbot.
from impfbot.
from impfbot.
from impfbot.
Hi, I get the same error after pip install -U python-telegram-bot on my Raspberry.
Traceback (most recent call last): File "src/validate_config.py", line 3, in <module> from alerts import alert File "/home/pi/Documents/Impfbot/impfbot-main/src/alerts.py", line 4, in <module> from telegram.ext import Updater File "/home/pi/.local/lib/python3.7/site-packages/telegram/ext/__init__.py", line 21, in <module> from .basepersistence import BasePersistence File "/home/pi/.local/lib/python3.7/site-packages/telegram/ext/basepersistence.py", line 25, in <module> from telegram import Bot ImportError: cannot import name 'Bot' from 'telegram' (/home/pi/.local/lib/python3.7/site-packages/telegram/__init__.py)
from impfbot.
do you currently run python on the pi for anything else?
from impfbot.
do you currently run python on the pi for anything else?
PiHole is currently running, apart from that the Pi is on Idle.
from impfbot.
Update: I commented the Telegram-parting in settings.py out. Now it's running fine on the Pi.
from impfbot.
I am currently adding apprise #51. I'm also replacing the telegram backend with the apprise one at the same time. That should fix it.
from impfbot.
had the same issue, using a venv fixed it for me, maybe another installes pip package is causing this issue
from impfbot.
Either one or both fixed it for me. Can't remember the sequence though.
pip3 uninstall telegram
pip3 uninstall python_telegram_bot
Followed by
pip3 install -r requirements.txt
from impfbot.
should be fixed with #83 (new backend)
from impfbot.
Related Issues (20)
- Gather mail setup examples for popular mail providers
- Disclaimer to use waiting list in addition to the bot
- Why does the user_agent setting not allow spaces? HOT 2
- Automatisierte Impfterminbuchung HOT 13
- Add exception management HOT 1
- Printing of settings with a list value misses a delimiter HOT 3
- Vector vaccine for under 60s HOT 1
- Docker image for Raspberry Pi (arm64) missing HOT 3
- Sending email from Web.de failed HOT 1
- docker composes creates config.ini as folder HOT 1
- Error 'Could not send Email' during validation [gmail.com] HOT 3
- Release v3.0.0 HOT 2
- Config properties in the example do not match requirements in Docker-Compose HOT 3
- Running on server causes crash at import of configurator gui HOT 4
- Validation code fails with --alert argument only
- Telegram group IDs stopped working in 3.0 or logging problem HOT 1
- lower() for checks against YES/NO lists HOT 1
- add admin mail notifications HOT 1
- add custom prefix for alert messages HOT 1
- Android App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impfbot.