使用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:\Users\wshuai222333\PycharmProjects\untitled\venv\Scripts\autopep8.exe

 

 

 

 

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

 

 

 

 

 

 

 

 

 

posted @ 2020-04-16 13:46  PrinceS  阅读(2955)  评论(1编辑  收藏  举报