When the Python module is not called,

Asked 2 years ago, Updated 2 years ago, 16 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.

python

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

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=sosbaoxbak&logNo=221274376464

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


© 2024 OneMinuteCode. All rights reserved.