Skip to content
Advertisement

RuntimeError: ‘path’ must be None or a list, not on python-telegram-bot

I want to develop a bot in telegram using spyder:

from telegram.ext import Updater
bot = telegram.Bot(token='***')

I get the above error.

Advertisement

Answer

I encountered this issue with Spyder 3.2.6,

All you have to do is open Spyder with admin privileges, and the problem goes away. It’s a temporary fix, but 100 percent works.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement