-1

Hi, I want to use the telethon package. I installed it and called it in CMD and it works fine but when i called it from VSCODE this is not worked And shows this error: No module named 'telethon.sync'; 'telethon' is not a package

what is the problem?!

1 Answers1

0

VSCODE doesn't use pip by default, that sounds like what your issue is

I imagine your CMD python installation is different to the one VSCODE is looking at

Try adding your python installation to your system path

I found this information from a quick look at a similarly named visual studio related python issue

There might be some other useful information there

How to use pip with Visual Studio Code