linter-flake8
linter-flake8 copied to clipboard
Possible error with flake8 address
I'm using the latest version of atom under Ubuntu 20 LTS. I have installed linter and linter-flake8, and previously installed flake 8 with
pip3 install flake8
When I open a python project, however, Linter crashes and I get the following error.
My understanding is that linter is trying to run "/home/gerardpc/.local/lib/python3.8/site-packages/flake8" as a binary. However, this is actually a folder, the binary being in "/home/gerardpc/.local/bin/flake8".
Is my suspicion correct? And if that is the case, how can I change the path of the executable?
Ok, I just saw that in the settings of linter-flake8 I can specify the path. I changed it to "/home/gerardpc/.local/bin/flake8" (which btw I obtained by running
which flake8
on a terminal) and now everything seems to work fine. To the developers, please check why the default path detected by linter-flake8 is wrong.
Thanks!
@gerardpc, it will be fixed after following my steps in this link; Fix-Linter-flak8.