I am trying to use VS Code and I am importing some modules (for example : pandas and streamlit). The terminal of VS Code tells me "No module named pandas" or "No module named streamlit" whereas it is downloaded on my computer.
VS Code:
Terminal of my computer when trying "pip install streamlit":
Do you know how I could correct this mistake ?
2
Answers
You are in a different env, so before you can import, you will have to append the path of the installed packages to your working environment.
Please ensure that the environment is consistent.
pip
installs the library into the real Python environment, and you use the virtual environment.command
conda install
to install it.