vscode无法打开Python交互式,并且发生以下错误 [英] vscode can't open Python interactive, and the following error occurs

查看:471
本文介绍了vscode无法打开Python交互式,并且发生以下错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用vscode时,无法打开Python交互式,并且发生以下错误:

When using vscode, can't open Python interactive, and the following error occurs:

激活64位Python 3.7.3以运行Jupyter失败,并显示错误:命令失败:D:\ software \ anaconda \ activate base&&回声'e8b39361-0157-4923-80e1-22d70d46dee6'&&Pythonc:/Users/HELLO/.vscode/extensions/ms-python.python-2019.11.50794/pythonFiles/printEnvVariables.py'D:\ software \ anaconda \ activate'

Activating Python 3.7.3 64-bit to run Jupyter failed with Error: Command failed: D:\software\anaconda\activate base && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:/Users/HELLO/.vscode/extensions/ms-python.python-2019.11.50794/pythonFiles/printEnvVariables.py 'D:\software\anaconda\activate'

推荐答案

我是此扩展程序的数据科学功能开发人员.目前,整个扩展程序的conda激活存在一些问题.这是跟踪有关此问题的修复程序的最佳问题: https://github.com/microsoft/vscode-python/issues/5344

I'm a developer on the data science features for this extension. There are currently some issue with conda activation for the entire extension. This is the best issue here for tracking our fixes on this: https://github.com/microsoft/vscode-python/issues/5344

为使您畅通无阻,您可以在此问题中看到一些解决方法步骤: https://github.com/microsoft/vscode-python/issues/8290

To get you unblocked you can see some workaround steps in this issue here: https://github.com/microsoft/vscode-python/issues/8290

这篇关于vscode无法打开Python交互式,并且发生以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆