Add immediate telegram installation instructions
This commit is contained in:
1 parent
948211e711
commit
c061f234fa
2 files changed
+153
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# ==========================================
|
||||
# INSTALL TELEGRAM DEPENDENCIES (Run FIRST!)
|
||||
# ==========================================
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
print("📦 Installing python-telegram-bot...")
|
||||
|
||||
subprocess.check_call([
|
||||
sys.executable, "-m", "pip", "install",
|
||||
"python-telegram-bot", "--upgrade"
|
||||
])
|
||||
|
||||
print("\n✅ python-telegram-bot installed!")
|
||||
|
||||
# Verify
|
||||
import telegram
|
||||
print(f"✅ Version: {telegram.__version__}")
|
||||
print(f"\n🎯 Now restart kernel and run Cell 17 again!")
|
||||
Reference in new issue
Block a user