Python: integrated terminal is unable to recognise anaconda python interpreter specified #10857
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Environment data
VS Code version: Version: 1.43.2
Extension version (available under the Extensions sidebar): 2020.3.69010
OS and version: macOS 10.15.3
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.4 :: Anaconda (64-bit)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Expected behaviour
The vscode integrated terminal is able to run conda environment's python and packages
Actual behaviour
The conda environment shows to have been activated in the terminal. But when type
`python
to enter python shell, it shows the system python instead of anaconda's python. And it shows 'ModuleNotFoundError: No module named 'pandas' when I tried to import pandas.
In addition, when check the python location using
`which python
it points to system python.
The python interpreter at vscode bottom, the configuration in .vscode/settings.json is pointed to conda though.
The anaconda behaves normally in mac's terminal. I was unable to fix this by uninstall vscode as mention in issue #4597.
The text was updated successfully, but these errors were encountered: