When the Python module is not called,

Asked 1 weeks ago, Updated 1 weeks ago, 1 views

Modules or packages are not imported from Python.

It says that the pip installation and module installation were all successful If I import it to write it in VScode, it says there is no module.

I even adjusted the interpreter.

Is it a PATH problem or something?

Please let me know. I've been wandering for two days.

The problem is the same no matter how many times you erase it and reinstall it.


2022-09-20 11:35

3 Answers

 import panda
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pandas'

It's like this.

2022-09-20 11:35


The default Python appears to be set incorrectly.

2022-09-20 11:35

In my case, I installed miniconda and Python separately It was installed in double. So the installation was done on miniconda, but it was not run on miniconda when running Python, so it was not.

2022-09-20 11:35

If you have any answers or tips

© 2022 pinfo. All rights reserved.