I have recently installed flake8 and linter-flake8 and I am trying to use it in Atom. It did not get installed on PATH so I have specified the executable path in the settings of linter-flake8 package on atom using:
'linter-flake8':
'executablePath': 'c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages'
but still getting the error:"[Linter] Error running Flake8". Why isn't it finding flake8?
According to the README , you need to provide the path to the executable, not the containing directory.
Example:
'linter-flake8':
'executablePath': 'c:\users\user\appdata\...\site-packages\flake8.exe'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.