Skip to content

Instantly share code, notes, and snippets.

@anmsh
Created October 12, 2021 03:44
Show Gist options
  • Save anmsh/2b83f32a31ab7aa31bf033b9bb04a183 to your computer and use it in GitHub Desktop.
Save anmsh/2b83f32a31ab7aa31bf033b9bb04a183 to your computer and use it in GitHub Desktop.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask 2.0.2 requires Werkzeug>=2.0, but you have werkzeug 0.16.1 which is incompatible.
Successfully installed MarkupSafe-2.0.1 Werkzeug-0.16.1 lektor-atom-0.3.1
WARNING: Target directory C:\Users\animesh\AppData\Local\Lektor\Cache\packages\d10099c1555d47a5c19dd0fe489a495c\__pycache__ already exists. Specify --upgrade to force replacement.
Traceback (most recent call last):
File "C:\Users\animesh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\animesh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\users\animesh\.local\bin\lektor.exe\__main__.py", line 7, in <module>
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\cli.py", line 766, in main
cli.main(args=args, prog_name=name)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\cli.py", line 260, in build_cmd
ctx.load_plugins(extra_flags=extra_flags)
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\cli.py", line 147, in load_plugins
initialize_plugins(self.get_env())
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\pluginsystem.py", line 129, in initialize_plugins
plugins = load_plugins()
File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\pluginsystem.py", line 123, in load_plugins
rv[ep.name] = ep.load()
File "C:\Users\animesh\.local\pipx\shared\Lib\site-packages\pkg_resources\__init__.py", line 2449, in load
self.require(*args, **kwargs)
File "C:\Users\animesh\.local\pipx\shared\Lib\site-packages\pkg_resources\__init__.py", line 2472, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "C:\Users\animesh\.local\pipx\shared\Lib\site-packages\pkg_resources\__init__.py", line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (Werkzeug 2.0.2 (c:\users\animesh\.local\pipx\venvs\lektor\lib\site-packages), Requirement.parse('Werkzeug<1.0'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment