formulahendry / formulahendry/vscode-code-runner

[Bug] Run Code does not see Pandas import in Python

Open
#603 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.45.0-insider
- OS Version: windows 10 - 2004
- Code Runner Version: 0.9.17

**Describe the bug**
Description of what the bug is.

Using the Run Code option gives an error that it cannot see the Pandas import in the project, runs as expected from the terminal
**To Reproduce**
Steps to reproduce the behavior:

In the ***.py file code
import numpy
import pandas
Use code to read a csv file, extract data and print the extract

**Actual behavior**
ModuleNotFoundError: No module named 'pandas'

**Expected behavior**
Extracted data is printed in the output

**Screenshots**
If applicable, add screenshots to help explain your problem.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.