'Pycharm message "Process error=5, Access is denied" from run flake8
I'm trying to use flake8 in PyCharm for Python 3. I got this error code when I try to run flake8:
"Error running Flake8: Cannot run program "D:\Python36\Lib\site-packages\flake8\plugins" (in directory "D:\Python_my\Python_netology_homework"): CreateProcess error=5, , Access is denied"
I installed flake8 in File -> Settings -> External Tools however PyCharm says flake 8 is installed in D:\Python36\Lib\site-packages\flake8. and uses this path in flake8 settings.
For a visual, see link
Solution 1:[1]
You say you installed flake8 in File | Settings | External tools, However, nothing gets installed through that menu. It is called External tools because these are tools which are installed outside of PyCharm, and you are running these external tools through PyCharm.
If you are wanting to run External Tools in PyCharm, here is how I typically do it and my recommendation:
Install flake8 on your computer.
Get a command line version of the tool to work (including if you are on windows)
Then try to get the
External Toolsto work inPyCharm. YourProgramwill be the first argument that you gave on the command line.Parameterswill be everything else.Working directorywill be where you kick it off. Also, theInsert macro...button is really helpful when setting these up.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | nanotek |
