Skip to content

"Exception on python action plugin code" if Stretch-to-SVG #40

@BenRoe

Description

@BenRoe
  • Kickt 9.0.0
  • Mac OSX 15.3.1

If i press the Stretch-to-SVG button i get the following error.

Traceback (most recent call last):

File "/Users/ben/Documents/KiCad/9.0/scripting/plugins/Stretch/kiplug/kicad.py", line 81, in Run
raise ModuleNotFoundError(bs4_install) from None

ModuleNotFoundError: 

********************************************************
**You must install the Python BeautifulSoup package!**
********************************************************

Type the following (or something similar) on your system terminal to install it:

/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python -m pip install beautifulsoup4

I tried the suggest command but it does not work.

Thans to this comment i was able to fix it.

Solution:

cd /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin
./pip3 install beautifulsoup4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions