Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Possible error with flake8 address #744

Open
gerardpc opened this issue Sep 19, 2020 · 2 comments
Open

Possible error with flake8 address #744

gerardpc opened this issue Sep 19, 2020 · 2 comments

Comments

@gerardpc
Copy link

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.

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?

@gerardpc
Copy link
Author

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!

@AI-Ahmed
Copy link

@gerardpc, it will be fixed after following my steps in this link; Fix-Linter-flak8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants