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
Traceback (most recent call last):File "/conda/envs/test-flake8/bin/flake8", line 10, in <module>sys.exit(main())^^^^^^File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/cli.py", line 22, in mainapp.run(argv)File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 375, in runself._run(argv)File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 363, in _runself.initialize(argv)File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 343, in initializeself.find_plugins(config_finder)File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 157, in find_pluginsself.check_plugins = plugin_manager.Checkers(local_plugins.extension)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 363, in __init__self.manager = PluginManager(^^^^^^^^^^^^^^File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 243, in __init__self._load_entrypoint_plugins()File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 261, in _load_entrypoint_pluginseps = importlib_metadata.entry_points().get(self.namespace, ())^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AttributeError: 'EntryPoints' object has no attribute 'get'
describe the problem
what I expected to happen
When I run any flake8 command using the version of flake8 from the Conda environment (created as above) I get the same traceback (provided above and below).
I do not see this problem if I specify python=3.11 when creating the Conda environment.
commands ran
$ flake8 --helpTraceback (most recent call last): File "/conda/envs/test-flake8/bin/flake8", line 10, in <module> sys.exit(main()) ^^^^^^ File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/cli.py", line 22, in main app.run(argv) File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 375, in run self._run(argv) File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 363, in _run self.initialize(argv) File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 343, in initialize self.find_plugins(config_finder) File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/main/application.py", line 157, in find_plugins self.check_plugins = plugin_manager.Checkers(local_plugins.extension) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 363, in __init__ self.manager = PluginManager( ^^^^^^^^^^^^^^ File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 243, in __init__ self._load_entrypoint_plugins() File "/conda/envs/test-flake8/lib/python3.12/site-packages/flake8/plugins/manager.py", line 261, in _load_entrypoint_plugins eps = importlib_metadata.entry_points().get(self.namespace, ()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AttributeError: 'EntryPoints' object has no attribute 'get'
Thank you! :)
The text was updated successfully, but these errors were encountered:
how did you install flake8?
$ conda create --name test-flake8 python=3.12 flake8
unmodified output of
flake8 --bug-report
describe the problem
what I expected to happen
When I run any
flake8
command using the version of flake8 from the Conda environment (created as above) I get the same traceback (provided above and below).I do not see this problem if I specify
python=3.11
when creating the Conda environment.commands ran
Thank you! :)
The text was updated successfully, but these errors were encountered: