L
L
leham12022-02-10 17:31:34
Python
leham1, 2022-02-10 17:31:34

Why doesn't cs code import the module?

Why can't vscode import the module. Although pycharm imports everything fine. The interpreters are the same for both vscode and pycharm.
How to make cscode able to import?

from my_main_files.telegram_bots.fanctions import *

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2022-02-10
@leham1

VS Code should be launched like this: cdinto the directory with the project, then
code .(I pay attention to the dot at the end).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question