You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My environment is Anaconda base, and I have already installed the Flake8 plugin in VSCode. When creating scripts that do not comply with the specifications, they are working normally.
I am currently facing a problem:
When I put the project in the site packages directory of base, flake8 no longer gives any error prompts. May I ask what the reason is?
The text was updated successfully, but these errors were encountered:
@kingmo888 This is by design. You are never supposed to put packages that you work on inside site-packages. If you want to be able to import packages while working on them then what you need is "Editable install", learn about editable installs, and use them for packages that you are actively working on. With "editable install" you package gets included in sys.path automatically for import.
My environment is Anaconda base, and I have already installed the Flake8 plugin in VSCode. When creating scripts that do not comply with the specifications, they are working normally.
I am currently facing a problem:
When I put the project in the site packages directory of base, flake8 no longer gives any error prompts. May I ask what the reason is?
The text was updated successfully, but these errors were encountered: