Error: pyenv: flake8: command not found
See original GitHub issueHi. I was trying using linter-flake8 in El Capitan(10.11.1) and encountered the following error. I personaly use pyenv and pyenv-virtualenv and pyenv-2.7.10
in the error is the name of the environment.
Error: pyenv: flake8: command not found
The `flake8' command exists in these Python versions: 2.7.10/envs/pyenv-2.7.10 pyenv-2.7.10
Error: pyenv: flake8: command not found
The `flake8' command exists in these Python versions:
2.7.10/envs/pyenv-2.7.10
pyenv-2.7.10
at parameters.exit (/Users/oonokenta/.atom/packages/linter-flake8/node_modules/atom-linter/lib/helpers.js:75:20)
at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
zsh: command not found: flake8 but flake8 is installed
The flake8 script isn't in your path. First figure out where it's installed: pip show -f flake8. You should see the install location, ......
Read more >flake8: command not found after installing it with pip on arch ...
You can find out what your path is by running echo $PATH . The message indicates where it installed flake8, and that the...
Read more >Installation troubleshooting — ROS 2 Documentation: Humble ...
Sometimes rclpy fails to be imported because the expected C extension libraries are not found. If so, compare the libraries present in the...
Read more >Advanced Usage of Pipenv - Read the Docs
Dependencies of wheels provided in a Pipfile will not be captured by $ pipenv lock . ... We're actively working to solve this...
Read more >Python Best Practices for a New Project in 2021 - Alex Mitelman
Make sure to run this command not from virtual environment but from the ... VS Code marks red some code that linter found...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A bit late to provide some help other that find themselves in the same situation, but if you’re using pyenv, don’t bother trying to configure the path of the plugin or even opening Atom from inside the project, just install flake8 in the “global” python that you will use in the same virtualenv and it will work just fine. Just don’t ask me why… never got the “shim” clearly.
Just to make sure you are launching Atom from the proper environment, follow these steps:
flake8
works from this terminalatom .