为什么我的Supremeanaconda排水沟痕迹没有出现?

2024-09-27 04:10:01 发布

您现在位置:Python中文网/ 问答频道 /正文

我当时正在YouTube上观看Corey Schafer的视频,内容是“在sublime文本中设置Python开发环境”。 我安装了anaconda软件包,但由于某些原因,线号列中没有显示沟槽标记(用于线头)

我没有更改默认设置。 我已将Corey的用户设置添加到sublime anaconda用户设置文件中:

{
"auto_formatting": true,
"autoformat_ignore":
[
],
"pep8_ignore":
[
    "E501"
],
"anaconda_linter_underlines": false,
"anaconda_gutter_marks": true,
"anaconda_linter_mark_style": "none",
"display_signatures": false,
"disable_anaconda_completion": true,
"python_interpreter": "/usr/local/bin/python3"
}

我应该注意到,我还尝试添加:

"anaconda_gutter_marks": true,

无济于事

我还保存了设置并重新启动了升华文本


Tags: 用户文本falsetrue内容视频youtubelinter
2条回答

在从correy的GitHub复制代码的地方,有一行名为"python_interpreter": "/usr/local/bin/python3"只需删除该行并重新启动sublime,错误就会再次显示出来

查看屏幕截图:

the picture

您需要将"python_interpreter"设置更改为系统上python.exe可执行文件的实际路径。打开cmd并输入which python可能有助于找到它。一旦找到它,将和\字符更改为/——例如,C:\Python38\python.exe将变成C:/Python38/python.exe

相关问题 更多 >

    热门问题