1

I'm trying to build a visual dashboard in VS Code using dash. But I can't get past this error I'm getting:

Original error was: DLL load failed: The specified module could not be found. File "C:\Users\ko14Z57\plots.py", line 1, in import pandas as pd

Exception has occurred: ImportError Unable to import required dependencies: numpy:

I'm using python 3.6.13 but I've tried this with python 3.9 and 3.8. I also tried installing\uninstalling numpy and pandas. I'm using Anaconda for my package management. Any help would be really appreciated!

Bas van der Linden
  • 11,895
  • 4
  • 22
  • 47
garchukins
  • 63
  • 5

2 Answers2

0

Assuming that Bas may be right, and you're missing the Microsoft C++ compiler. Try installing Microsoft's "C/C++ Extension Pack": https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack . You can find it in VSCode by clicking the extensions icon at the left side and searching "cpptools".

Microsoft's "C/C++ Extension Pack"

blong
  • 2,778
  • 7
  • 40
  • 103
0

in vscode from view>command palette write 'select your default profile' the select 'Command Prompt' or 'cmd.exe'

Farhang Amaji
  • 468
  • 6
  • 14