使用pep8报“Error running 'autopep8': Cannot run program "autopep8" (in directory "xxx"): CreateProcess error=2, 系统找不到指定的文件”

安装使用pep8遇到问题

具体安装使用步骤自行百度

执行External Tools=》autopep8

报“使用pep8报Error running 'autopep8': Cannot run program "autopep8" (in directory "xxx"): CreateProcess error=2, 系统找不到指定的文件”错误

配置Setting=》Tools=》External Tools=》autopep8  Program参数改为autopep8.exe完整路径  C:Userswshuai222333PycharmProjectsuntitledvenvScriptsautopep8.exe

具体路径可通过控台路径查看

 

原文地址:https://www.cnblogs.com/wsprince/p/12712346.html