[go: up one dir, main page]

0% found this document useful (0 votes)
47 views1 page

Common Vscode Error

The document provides troubleshooting steps to resolve an issue where pandas could not be imported in Visual Studio Code, despite being installed via Anaconda. It recommends refreshing VSCode, checking the Python execution policy, reinstalling Jupyter Notebook using a virtual environment, and listing installed Python packages using pip to check that pandas is present. Additional notes mention Vietnamese language, MinGW compiler configuration, and environment variables.

Uploaded by

nhi nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

Common Vscode Error

The document provides troubleshooting steps to resolve an issue where pandas could not be imported in Visual Studio Code, despite being installed via Anaconda. It recommends refreshing VSCode, checking the Python execution policy, reinstalling Jupyter Notebook using a virtual environment, and listing installed Python packages using pip to check that pandas is present. Additional notes mention Vietnamese language, MinGW compiler configuration, and environment variables.

Uploaded by

nhi nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Import pandas could not be resolved from source Pylance


(report Missing Module Source)

Previously to Visual Studio Code I installed "Anaconda" to use


Jupyter, and now it says that i have the existing packages
(pandas, numpy...) but keeps appearing this message that
doesn't allow me to use pandas in my Visual Studio.
-Python3: python version on PC
-Change VScode python version to the version on PC
2. Quickly Refresh / Reload Visual Studio Code
ctrl shift P: reload
3. ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope
CurrentUser
4. JUPYTERNOTEBOOK
-pip install virutalvenv
-py -m venv venv
-py - version -m venv venv
-Set -ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope
CurrentUser
-venv/Scripts/activate (source venv/bin/activate)
-pip list
-select kernel
-pip install ipykernel -U --force-reinstall
-cd.. ; ls
-py -V
5.Vietnamese
6. How to list installed python packages
pip list
7. MIN GW634 MINIMALIST
ADVANCED SYSTEM -> ENVIRONMENT VARIABLES
COMPILER CONFIGURATION

You might also like