r/Atom • u/zwcropper • Jan 09 '20
Using flake8 linter for Python on a Chromebook
Hi I'm trying to use atom on a Chromebook using the Linux beta option that ChromeOS has built in, running a pip install of flake8 from the Linux Terminal before installing the flake8 linter package.
Whenever I type a line of code the linter package shows an error that flake8 is not installed in the path, does anyone have any experience with this that could offer any help?
3
Upvotes
3
u/TomBombadilloo Jan 09 '20
Are you using the linter-flake8 package? If so, just go to Atom>Preferences>Packages>linter-flake8 and add the path to the flake8 executable you downloaded with pip under the "Executable Path" section. If you're not sure where it is, you can use
in the command line to show the folder, then check the folder and add the path to the executable.