Skip to content

Instantly share code, notes, and snippets.

@anmsh
Created February 18, 2020 16:47
Show Gist options
  • Save anmsh/16e1cbc5ba4e06279af153a2f53409f5 to your computer and use it in GitHub Desktop.
Save anmsh/16e1cbc5ba4e06279af153a2f53409f5 to your computer and use it in GitHub Desktop.
ModuleNotFoundError: No module named 'werkzeug.contrib'
Updating packages in C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9 for project
Collecting lektor-atom==0.2
Using cached https://files.pythonhosted.org/packages/2e/90/7c38ba6f620c72d2ddb7a0dd3e07af0c5388f4e8b2a629333da68535bbf4/lektor-atom-0.2.tar.gz
Collecting MarkupSafe (from lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/4f/8b/da8a2ae5780d38271ac6e691756fc938cf4df8f225eb8aaced0204304932/MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl
Collecting Lektor (from lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/c3/55/611df4ea8a93e56c2cdba1f22d865fa19354959b949f90d56acc75e826ee/Lektor-3.1.3-py2.py3-none-any.whl
Collecting Babel (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/15/a1/522dccd23e5d2e47aed4b6a16795b8213e3272c7506e625f2425ad025a19/Babel-2.8.0-py2.py3-none-any.whl
Collecting click>=6.0 (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting EXIFRead (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/7b/cb/92b644626830115910cf2b36d3dfa600adbec86dff3207a7de3bfd6c6a60/ExifRead-2.1.2.tar.gz
Collecting watchdog (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/73/c3/ed6d992006837e011baca89476a4bbffb0a91602432f73bd4473816c76e2/watchdog-0.10.2.tar.gz
Collecting requests[security] (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting Flask (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl
Collecting pip (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl
Collecting inifile (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/af/9e/1cd6be0edcbeeb89a6d6ee101dc371a43fa1a19ffaa06ffe99b9e92a3053/inifile-0.4.zip
Collecting Jinja2>=2.4 (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/27/24/4f35961e5c669e96f6559760042a55b9bcfcdb82b9bdb3c8753dbe042e35/Jinja2-2.11.1-py2.py3-none-any.whl
Collecting mistune>=0.7.0 (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting setuptools (from Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/3d/72/1c1498c1e908e0562b1e1cd30012580baa7d33b5b0ffdbeb5fde2462cc71/setuptools-45.2.0-py3-none-any.whl
Collecting pytz>=2015.7 (from Babel->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting pathtools>=0.1.1 (from watchdog->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz
Collecting chardet<3.1.0,>=3.0.2 (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
Collecting cryptography>=1.3.4; extra == "security" (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/27/da/8ee8775f0b6883b6c53e3f2d8a9a1e109661176446ec09f27c070dfc7baf/cryptography-2.8-cp38-cp38-win_amd64.whl
Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/9e/de/f8342b68fa9e981d348039954657bdf681b2ab93de27443be51865ffa310/pyOpenSSL-19.1.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.15 (from Flask->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/ba/a5/d6f8a6e71f15364d35678a4ec8a0186f980b3bd2545f40ad51dd26a87fb1/Werkzeug-1.0.0-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=1.3.4; extra == "security"->requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/b4/78/eefed9f51baa2b2c891915b4590a237ed6bc6d02beec177fc503bae8eb53/cffi-1.14.0-cp38-cp38-win_amd64.whl
Collecting six>=1.4.1 (from cryptography>=1.3.4; extra == "security"->requests[security]->Lektor->lektor-atom==0.2)
Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=1.3.4; extra == "security"->requests[security]->Lektor->lektor-atom==0.2)
Installing collected packages: MarkupSafe, pytz, Babel, click, EXIFRead, pathtools, watchdog, chardet, idna, urllib3, certifi, pycparser, cffi, six, cryptography, pyOpenSSL, requests, Werkzeug, itsdangerous, Jinja2, Flask, pip, inifile, mistune, setuptools, Lektor, lektor-atom
Running setup.py install for EXIFRead ... done
Running setup.py install for pathtools ... done
Running setup.py install for watchdog ... done
Running setup.py install for inifile ... done
Running setup.py install for lektor-atom ... done
Successfully installed Babel-2.8.0 EXIFRead-2.1.2 Flask-1.1.1 Jinja2-2.11.1 Lektor-3.1.3 MarkupSafe-1.1.1 Werkzeug-1.0.0 certifi-2019.11.28 cffi-1.14.0 chardet-3.0.4 click-7.0 cryptography-2.8 idna-2.8 inifile-0.4 itsdangerous-1.1.0 lektor-atom-0.2 mistune-0.8.4 pathtools-0.1.2 pip-20.0.2 pyOpenSSL-19.1.0 pycparser-2.19 pytz-2019.3 requests-2.22.0 setuptools-45.2.0 six-1.14.0 urllib3-1.25.8 watchdog-0.10.2
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Collecting lektor-minify==1.2
Using cached https://files.pythonhosted.org/packages/03/0f/e99f912bc7e7523a809b12765cb4025f840da2f9c63416ae7831a4684b83/lektor_minify-1.2-py2.py3-none-any.whl
Collecting rcssmin (from lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/e2/5f/852be8aa80d1c24de9b030cdb6532bc7e7a1c8461554f6edbe14335ba890/rcssmin-1.0.6.tar.gz
Collecting django-htmlmin (from lektor-minify==1.2)
Collecting rjsmin (from lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/a2/ba/0fa30f7ec949714b8397e80ee2057d1a7e77b3a9f1b94c1ece93586cf34f/rjsmin-1.1.0.tar.gz
Collecting html5lib (from django-htmlmin->lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl
Collecting beautifulsoup4 (from django-htmlmin->lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/cb/a1/c698cf319e9cfed6b17376281bd0efc6bfc8465698f54170ef60a485ab5d/beautifulsoup4-4.8.2-py3-none-any.whl
Collecting six>=1.9 (from html5lib->django-htmlmin->lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting webencodings (from html5lib->django-htmlmin->lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting soupsieve>=1.2 (from beautifulsoup4->django-htmlmin->lektor-minify==1.2)
Using cached https://files.pythonhosted.org/packages/81/94/03c0f04471fc245d08d0a99f7946ac228ca98da4fa75796c507f61e688c2/soupsieve-1.9.5-py2.py3-none-any.whl
Installing collected packages: rcssmin, six, webencodings, html5lib, soupsieve, beautifulsoup4, django-htmlmin, rjsmin, lektor-minify
Running setup.py install for rcssmin ... done
Running setup.py install for rjsmin ... done
Successfully installed beautifulsoup4-4.8.2 django-htmlmin-0.11.0 html5lib-1.0.1 lektor-minify-1.2 rcssmin-1.0.6 rjsmin-1.1.0 six-1.14.0 soupsieve-1.9.5 webencodings-0.5.1
WARNING: Target directory C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\six-1.14.0.dist-info already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\six.py already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\__pycache__ already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\bin already exists. Specify --upgrade to force replacement.
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\html5lib\_trie\_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from
'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Mapping
Traceback (most recent call last):
File "C:\Users\animesh\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\animesh\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\animesh\AppData\Local\lektor-cli\lib\Scripts\lektor.exe\__main__.py", line 9, in <module>
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\lektor\cli.py", line 627, in main
cli.main(args=args, prog_name=name)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\lektor\cli.py", line 269, in clean_cmd
ctx.load_plugins()
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\lektor\cli.py", line 131, in load_plugins
initialize_plugins(self.get_env())
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\lektor\pluginsystem.py", line 122, in initialize_plugins
plugins = load_plugins()
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\lektor\pluginsystem.py", line 116, in load_plugins
rv[ep.name] = ep.load()
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\pkg_resources\__init__.py", line 2443, in load
return self.resolve()
File "c:\users\animesh\appdata\local\lektor-cli\lib\lib\site-packages\pkg_resources\__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "C:\Users\animesh\AppData\Local\Lektor\Cache\packages\842061500dd1fd70a9e0458a55b754a9\lektor_atom.py", line 17, in <module>
from werkzeug.contrib.atom import AtomFeed
ModuleNotFoundError: No module named 'werkzeug.contrib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment