tableau-tables / python-tableau-parser

More control over table formatting for Python's Markdown
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

ModuleNotFoundError: No module named 'python-tableau-parser' #1

Open reregaga opened 1 year ago

reregaga commented 1 year ago

@pragdave, I was looking for an extension for colspan cells in tables and found your awesome extension, tried to install it

Building wheels for collected packages: mdx-tableau
  Building wheel for mdx-tableau (setup.py) ... done
  Created wheel for mdx-tableau: filename=mdx_tableau-1.0.1-py3-none-any.whl size=7479 sha256=20d01995c428515c96cf4a9e58d1b1aec37e81b303837b1272591bad6e660cdd
  Stored in directory: C:\Users\USERNAME\AppData\Local\Temp\pip-ephem-wheel-cache-eej_tt4r\wheels\34\52\4b\36693b3788c9af67f470f7220f5121a8e4b8ddef194094f2e0
Successfully built mdx-tableau
Installing collected packages: mdx-tableau
Successfully installed mdx-tableau-1.0.1

But could not run it for mkdocs:

ERROR    -  Config value 'markdown_extensions': Failed to load extension 'python-tableau-parser'.
            ModuleNotFoundError: No module named 'python-tableau-parser'
Aborted with 1 Configuration Errors!

I don't know how to fix it... Could you post it in pypi, please 🙏

reregaga commented 1 year ago

So, I installed string-scanner and import extension as

markdown_extensions:
    - mdx_tableau

And now it works!

griznog commented 3 months ago

@reregaga any chance you could post a working example of a table source from a .md file mkdocs is properly building with mdx_tableau? I'm gotten to the point where I'm not getting any errors, but nothing I've tried in my markdown sources ever gets me a table that is processed by this extension.