I am running STATA 16 and installed Anaconda to be able to run python code from STATA. The installation worked well and I am able to run basic commands (such as 2+2) and to import certain python packages (such as numpy and os).

However, I am unable to import pandas (and other packages).

When I type:

Code:
import pandas
I get the following error:

Code:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pandas
r(7102);
Also, I am unable to run many conda commands such as:

Code:
conda list
or

Code:
conda install xgboost
these commands run to no end with "..." displayed endlessly.

Any ideas on what the problem may be?

Thanks in advance,
Jonathan