forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Environment data
- VS Code version: 1.33.1
- Extension version (available under the Extensions sidebar): 2019.4.2
- OS and version: macOS Mojave 10.14.3
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.1 Anaconda 64-bit
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
- Relevant/affected Python packages and their versions: N/A
Expected behaviour
Jupyter loads correctly
Actual behaviour
it fails to load with anaconda
Steps to reproduce:
- select code
- shift + enter
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Executing code failed : Error: Activating Python 3.7.1 64-bit ('py37': conda) to run Jupyter failed with Error: Command failed: . /anaconda3/envs/py37/bin/activate && conda activate py37 && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/zohaad/.vscode/extensions/ms-python.python-2019.4.12954/pythonFiles/printEnvVariables.py CommandNotFoundError: 'activate is not a conda command. Did you mean 'source activate'? .
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded