gpt4 book ai didi

python - 原子编辑器: autopep8 is not working and no error message at all

转载 作者:行者123 更新时间:2023-12-01 01:51:45 27 4
gpt4 key购买 nike

我在 Atom 中安装了 autopop8。我没有收到任何错误消息。开发人员工具中的控制台非常干净,没有错误或任何问题。它只是无声无息,autopep8 无法工作(已经打开“保存时格式化”)。在编辑器的底部,有一个带有红十字的小 autopep8 按钮。我不知道这是什么意思,点击它但没有任何反应。完全没有线索。只是没有什么可检查的。有谁可以帮助跟踪发生了什么吗?

enter image description here

enter image description here

最佳答案

第 1 步:- 首先,您需要确保您的 PC 中安装了 autopep8 模块,您可以使用以下命令进行检查python -m autopep8 --version。如果您可以看到版本,则可以转到步骤 3。

第2步:- 您需要使用命令行安装autopep8
pip install --user autopep8

第三步:- 在命令行中输入 where.exe autopep8 并将该路径复制到 Autopep8 软件包设置中的 Autopep8 路径
Snippet of Setting

关于python - 原子编辑器: autopep8 is not working and no error message at all,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50654533/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com