Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running PcbDraw on Kicad 8 / W11 gives frozen runpy error #171

Open
DerRudi63 opened this issue May 26, 2024 · 1 comment
Open

Running PcbDraw on Kicad 8 / W11 gives frozen runpy error #171

DerRudi63 opened this issue May 26, 2024 · 1 comment

Comments

@DerRudi63
Copy link

After installing PcbDraw (and setting the Path accordingly), I can not seem to get PcbDraw even get to produce a help screen.
This is the command and output I get:

pcbdraw --help Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Documents\KiCad\8.0\3rdparty\Python311\Scripts\pcbdraw.exe\__main__.py", line 4, in <module> File "D:\Documents\KiCad\8.0\3rdparty\Python311\site-packages\pcbdraw\ui.py", line 15, in <module> from .populate import populate File "D:\Documents\KiCad\8.0\3rdparty\Python311\site-packages\pcbdraw\populate.py", line 16, in <module> from mistune.plugins.table import plugin_table # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'plugin_table' from 'mistune.plugins.table' (D:\Documents\KiCad\8.0\3rdparty\Python311\site-packages\mistune\plugins\table.py)

Not that familiar with Python, but what can this be? If more info is needed, happy to provide that.
Thanks.

@markus-k
Copy link

Same error in the kikit docker image.

Traceback (most recent call last):
  File "/usr/local/bin/pcbdraw", line 5, in <module>
    from pcbdraw.ui import run
  File "/usr/local/lib/python3.10/dist-packages/pcbdraw/ui.py", line 15, in <module>
    from .populate import populate
  File "/usr/local/lib/python3.10/dist-packages/pcbdraw/populate.py", line 16, in <module>
    from mistune.plugins.table import plugin_table # type: ignore
ImportError: cannot import name 'plugin_table' from 'mistune.plugins.table' (/usr/local/lib/python3.10/dist-packages/mistune/plugins/table.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants