I've just installed Visual Studio Community with the workloads for Python and Data Science.
I create a new Regression project from the Python\Machine Learning template.
The first few lines are:
from pandas import read_table
import numpy as np
import matplotlib.pyplot as plt
First I get the errors: No module named xxx
or Missing required dependencies [xxx]
, for pandas or numpy, or scikitlearn or scipy.
I would have expected these to be installed as part of the Visual Studio workloads, and indeed they seem to be in the Anaconda3\Lib\sitpackages
folder, if that's where they should be. But I tried installing them anyway from the Python Environments window in VS.
If I'm lucky, then I get past the above error to this one: Importing the multiarray numpy extension module failed.
.
Anyone got any pointers for setting this up?