formulahendry / formulahendry/vscode-code-runner

code runner cant run pandas and numpy

Open
#567 2 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

Version: 1.40.2 (user setup)
Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
Date: 2019-11-25T14:54:45.096Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

run code import numpy in the editor
I am getting
Traceback (most recent call last):
File "c:\Users\user\Documents\Visual Studio 2017\Projects\test1.py", line 7, in
import pandas as pd
File "C:\Users\user\Anaconda3\lib\site-packages\pandas_init_.py", line 17, in
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy:
if i try to run python -c "import numpy" at the prompt works
if i use run file in terminal in vs code the code works
the only place it dosn't work is when using the upper right hand button run code which sends to the output window.
code runner runs other anaconda libraries

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.