Stretch icon indicating copy to clipboard operation
Stretch copied to clipboard

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

Open BenRoe opened this issue 9 months ago • 0 comments

  • 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

BenRoe avatar Mar 24 '25 19:03 BenRoe