Import error even though python is installed

I'm installing python with VScode, but I'm getting an import error.

スクリーンショット 2020-11-14 22.52.07.png

solution

Simple story, I improved after uninstalling python.

This is probably due to docker.

Even though python is installed on docker, python also exists on the VScode side, so it may interfere with each other and cause an error.

After a little research, it seems that such an error will occur if the existing Python version is different.

Be careful when using docker.

Recommended Posts

Import error even though python is installed
If you can't import even though it is already installed by pip
Today's python error: image is blank
[Python] Name Error: name'urlparse' is not defined
windows7 / python3.3 / virtualenv / cx_Freeze / Import Error / MAXREPEAT
Import Error in Python3: No module named'xxxxx'
Python is easy
Python module import
Import python script
scikit-learn import error
Python Error Handling
What is python
Python is instance
Summarize Python import
What is Python
Python --If statement judgment behavior under multiple conditions (even though the order is different)
[Python] Lint pylint is not installed is displayed [VS Code]
[Note] Anaconda & VScode has trouble with python import error
I get an Import Error in Python Beautiful Soup
Weird Python error message ——Is that code really executed?
python int is infinite
[Python] What is Pipeline ...
Python Not Implemented Error
Today's python error: killed
[Python] Isn't it copied even though "copy ()" is done? Beliefs and failures about deep copying
Python from or import
python original module import
Python error list (Japanese)
Solution if the module is installed in Python but you get an error in Jupyter notebook
Import tsv with Python
[Python] What is virtualenv
[Python] for statement error
Import error resolution record when touching Python code from VSCode
pip install scikit-learn says Numerical Python (NumPy) is not installed.