GithubHelp home page GithubHelp logo

Comments (5)

cknoll avatar cknoll commented on July 21, 2024 1

As far as I see, the problem still exists and will likely affect all people now installing via pip in a fresh environment.

The PR #18 of @zodman solves the problem for me.

Another workaround is pip install "pymdown-extensions<4". This has the advantatge that github-style syntax-highlightning still works.

from python-markdown-editor.

ncornette avatar ncornette commented on July 21, 2024

Thank you for the report! I will fix it soon

from python-markdown-editor.

 avatar commented on July 21, 2024

I'm getting this same error with pipenv install markdown-editor

Install works - from pipenv graph:
Markdown-Editor==1.0.3

  • bottle [required: Any, installed: 0.12.16]
  • Markdown [required: Any, installed: 3.1]
    • setuptools [required: >=36, installed: 40.8.0]
  • Pygments [required: Any, installed: 2.3.1]
  • pymdown-extensions [required: >=2.0, installed: 6.0]
    • Markdown [required: >=3.0.1, installed: 3.1]
      • setuptools [required: >=36, installed: 40.8.0]

Invoking from cmdline in python 3.6.7
markdown_edit
Traceback (most recent call last):
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/bin/markdown_edit", line 10, in
sys.exit(main())
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/lib/python3.6/site-packages/markdown_edit.py", line 95, in main
markdown_processor = markdown.Markdown(**options)
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/lib/python3.6/site-packages/markdown/core.py", line 100, in init
configs=kwargs.get('extension_configs', {}))
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/lib/python3.6/site-packages/markdown/core.py", line 126, in registerExtensions
ext = self.build_extension(ext, configs.get(ext, {}))
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/lib/python3.6/site-packages/markdown/core.py", line 166, in build_extension
module = importlib.import_module(ext_name)
File "/home/les/.local/share/virtualenvs/pelican-projects-xtj21HM1/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pymdownx.github'

from python-markdown-editor.

cknoll avatar cknoll commented on July 21, 2024

Update: The commandline

markdown_edit -x "markdown.extensions.tables" -x "pymdownx.magiclink" -x "pymdownx.betterem" -x "pymdownx.tilde" -x "pymdownx.emoji" -x "pymdownx.tasklist" -x "pymdownx.superfences" README.md

should resemble the now missing extension pymdownx.github.

from python-markdown-editor.

ncornette avatar ncornette commented on July 21, 2024

fixed in version 1.0.4

from python-markdown-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.