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 environmentsauthor-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onverifiedVerification succeededVerification succeeded
Milestone
Description
Using pre-release build:
Running Conda Env creation script: [
'python.exe',
'c:\\Users\\karraj\\.vscode-insiders\\extensions\\ms-python.python-2022.17.12981938\\pythonFiles\\create_conda.py',
'--git-ignore',
'--install',
'--python',
'3.10'
]
Running: C:\Users\karraj\AppData\Local\Programs\Python\Python37\python.exe -m conda create --yes --prefix .conda python=3.10
C:\Users\karraj\AppData\Local\Programs\Python\Python37\python.exe: No module named conda
Traceback (most recent call last):
File "c:\Users\karraj\.vscode-insiders\extensions\ms-python.python-2022.17.12981938\pythonFiles\create_conda.py", line 61, in run_process
subprocess.run(args, cwd=os.getcwd(), check=True)
File "C:\Users\karraj\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\\Users\\karraj\\AppData\\Local\\Programs\\Python\\Python37\\python.exe', '-m', 'conda', 'create', '--yes', '--prefix', '.conda', 'python=3.10']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\karraj\.vscode-insiders\extensions\ms-python.python-2022.17.12981938\pythonFiles\create_conda.py", line 131, in <module>
main(sys.argv[1:])
File "c:\Users\karraj\.vscode-insiders\extensions\ms-python.python-2022.17.12981938\pythonFiles\create_conda.py", line 119, in main
"CREATE_CONDA.ENV_FAILED_CREATION",
File "c:\Users\karraj\.vscode-insiders\extensions\ms-python.python-2022.17.12981938\pythonFiles\create_conda.py", line 63, in run_process
raise VenvError(error_message)
__main__.VenvError: CREATE_CONDA.ENV_FAILED_CREATION
Interpreter being used to launch conda is not the base conda environment. Also, I expected an error prompt if creating environment fails.
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onverifiedVerification succeededVerification succeeded