PIP is the python module installer. You should be able (although I have not tried it) to enter pip install svgwrite and assuming PIP knows svgwrite it should install it which should make the script work.
edit:
That appears to work:
$ pip install svgwrite
Collecting svgwrite
Downloading svgwrite-1.4.3-py3-none-any.whl.metadata (8.8 kB)
Downloading svgwrite-1.4.3-py3-none-any.whl (67 kB)
Installing collected packages: svgwrite
Successfully installed svgwrite-1.4.3
[notice] A new release of pip is available: 25.1.1 → 25.2
[notice] To update, run: /usr/bin/python -m pip install --upgrade pip
owner@owner-PC /usr/local/bin
$ r-array-gen.py -h
Small script, that generates resistor-arrays of various sizes.
See: Resistor-array?
Example: /usr/local/bin/r-array-gen.py -o test.fzpz -n 5 -p -r 10000
I haven’t yet tried the script to see if what it does.
edit2:
It appears to work, this should be what you want.
9-resistor-bussed.fzpz (35.3 KB)
Peter
via google transate
PIP ist das Installationsprogramm für Python-Module. Sie sollten in der Lage sein (obwohl ich es nicht ausprobiert habe), „pip install svgwrite“ einzugeben. Sofern PIP svgwrite kennt, sollte es es installieren, wodurch das Skript funktionieren sollte.
Bearbeiten:
Das scheint zu funktionieren:
$ pip install svgwrite. svgwrite wird gesammelt. svgwrite-1.4.3-py3-none-any.whl.metadata wird heruntergeladen (8,8 kB). svgwrite-1.4.3-py3-none-any.whl wird heruntergeladen (67 kB). Die gesammelten Pakete werden installiert: svgwrite. svgwrite-1.4.3 wurde erfolgreich installiert.
[Hinweis] Eine neue Version von pip ist verfügbar: 25.1.1 → 25.2. [Hinweis] Zum Aktualisieren führen Sie Folgendes aus: /usr/bin/python -m pip install --upgrade pip
owner@owner-PC /usr/local/bin$ r-array-gen.py -hKleines Skript, das Widerstands-Arrays verschiedener Größen generiert. Siehe:
Beispiel: /usr/local/bin/r-array-gen.py -o test.fzpz -n 5 -p -r 10000
Ich habe das Skript noch nicht ausprobiert, um zu sehen, ob
Bearbeitung 2:
Es scheint zu funktionieren. Das sollte das sein, was Sie wollen.
9-resistor-bussed.fzpz (35,3 KB)
Peter