#1 Le 13/04/2025, à 20:50
- marieeiram
Extension Inkstitch sur Inkscape pour broderie numérique
Bonjour bonjour,
Je suis sous Ubuntu 24.10, avec la version v 1.4 d'Inkscape. J'ai installé l'extension Inkstitch qui permet de préparer des fichiers pour de la broderie numérique mais... quand j'ouvre un fichier sous Inkscape, que je vais dans le menu Extensions puis Ink/Stitch, et que je clique sur un des menus proposés, rien ne se passe, hormis quelques secondes de sablier qui s'arrêtent ensuite.
Une idée ? Besoin que je tape quelque chose dans le terminal pour que ça vous donne davantage de billes ?
D'avance merci
Marie
Hors ligne
#2 Le 13/04/2025, à 20:57
- Vobul
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Est-ce que tu as bien suivi ces instructions et qu'elles n'ont pas donné d'erreur ? https://inkstitch.org/developers/inksti … ual-setup/
Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM
Hors ligne
#3 Le 13/04/2025, à 21:07
- marieeiram
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Je n'ai pas suivi ces instructions-ci et je ne retrouve pas la démarche que j'ai faite qui consistait plutôt à télécharger l'extension et à aller la mettre dans le dossier des extensions inkscape.
Je vais supprimer l'extension et faire la démarche que tu proposes.
Hors ligne
#4 Le 13/04/2025, à 21:18
- marieeiram
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Pour la partie "2. Python DependenciesPermalink" de l'installation, voici ce qui sort dans le terminal, peux-tu m'aider ?
La commande « python » n'a pas été trouvée, voulez-vous dire :
commande « python3 » du deb python3
commande « python » du deb python-is-python3
Hors ligne
#5 Le 13/04/2025, à 21:54
- Vobul
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Oui, utilises "python3".
Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM
Hors ligne
#6 Le 13/04/2025, à 22:17
- marieeiram
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Quand je tape dans le terminal : python3 -m pip install -r inkstitch/requirements.txt
La réponse est : /usr/bin/python3: No module named pip
Hors ligne
#7 Le 14/04/2025, à 09:43
- Vobul
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Install pip avec "apt install python3-pip".
Après y'a un truc super, c'est ça, regarde : https://chatgpt.com/share/e/67fcbbe7-40 … eee2abecef
C'est encore mieux que de google les erreurs que tu rencontres... Il faut que tu apprennes à trouver les solutions par toi-même. Les deux erreurs que tu as rencontré sont extrêmement classiques et c'est facile de trouver une solution en ligne. Et aujourd'hui, tu peux te faire accompagner par une IA à qui tu pourrais demander "mais c'est quoi pip ?" par exemple. <hors sujet>Bref, si je dis ça c'est parce que je considère que les problèmes "faciles" comme les tiens ne devraient plus se traiter sur un forum par des humains. C'est un peu comme si tu voulais aller à Marseille et que tout le monde prend le train mais toi tu veux y aller en monocycle...</hs>
Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM
Hors ligne
#8 Le 14/04/2025, à 14:52
- marieeiram
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Je choisis d'échanger avec un humain bénévole là où j'aurais pu davantage farfouiller en solo, c'est vrai. Ça doit être une sacrée expérience d'aller à Marseille en monocycle Étant donné ma faible utilisation de l'IA pour le moment, le forum est plus évident pour moi. Les réponses du terminal, je partage la suite :
C'est ok pour "apt install python3-pip"
Ensuite je retente "python3 -m pip install -r inkstitch/requirements.txt" et la réponse est :
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
S'il y a encore un peu l'énergie de m'aider, je suis preneuse
Hors ligne
#9 Le 14/04/2025, à 15:47
- Vobul
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Avant de faire ta commande pip, fais un
python3 -m venv venv && source venv/bin/activate
. À noter qu'il faudra sûrement activer cet environnement avant de lancer inkscape, mais ça c'est pour plus tard. Pour comprendre ce que je viens d'écrire, google est ton ami
Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM
Hors ligne
#10 Le 14/04/2025, à 15:51
- Vobul
Re : Extension Inkstitch sur Inkscape pour broderie numérique
HS
Je choisis d'échanger avec un humain bénévole là où j'aurais pu davantage farfouiller en solo, c'est vrai.
Je comprends, mais je ne peux m'empêcher de penser, à chaque fois que j'apporte une réponse sur un sujet : « mais une IA aurait fait une réponse bien plus étayée et compréhensible, puis on peut continuer la conversation pour poser d'autres questions, c'est donc mille fois mieux, pourquoi les gens ne les utilisent pas !».
Il faut savoir évoluer avec les outils de son temps.
C'est comme si en 1998 tu me demandais le numéro de téléphone de ta banque et que je te disais : bah regarde sur leur site internet, et tu me disais "oui mais bon je préfère demander à un humain". Là c'est pareil, il y a un shift technologique majeur, autant l'utiliser ! Vraiment ça changera ta vie de débutante, tu lui demandes d'expliquer chaque erreur que tu rencontres, chaque nouveau concept. Plutôt que d'attendre que quelqu'un réponde sur un forum.
/HS
Vobul
Utilisez le retour utilisable de commandes !!!
J'aime la langue française, mais je parle franglais, deal with it.
RTFM
Hors ligne
#11 Le 14/04/2025, à 22:07
- marieeiram
Re : Extension Inkstitch sur Inkscape pour broderie numérique
Ok là les messages d'erreur ça va trop loin pour moi, on verra dans une prochaine version d'ubuntu comment installer une extension dans inkscape plus facilement. Déso Vobul, merci pour tes réponses.
Processing ./pyembroidery
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting inkex@ git+https://gitlab.com/inkscape/extensions.git@1792934a09046fdef8aab20d05aad9c47f825bf5 (from -r inkstitch/requirements.txt (line 7))
Cloning https://gitlab.com/inkscape/extensions.git (to revision 1792934a09046fdef8aab20d05aad9c47f825bf5) to /tmp/pip-install-3ttn2d4x/inkex_f8b75fee59254d70908bf00e07cbffaa
Running command git clone --filter=blob:none --quiet https://gitlab.com/inkscape/extensions.git /tmp/pip-install-3ttn2d4x/inkex_f8b75fee59254d70908bf00e07cbffaa
Running command git rev-parse -q --verify 'sha^1792934a09046fdef8aab20d05aad9c47f825bf5'
Running command git fetch -q https://gitlab.com/inkscape/extensions.git 1792934a09046fdef8aab20d05aad9c47f825bf5
Running command git checkout -q 1792934a09046fdef8aab20d05aad9c47f825bf5
Resolved https://gitlab.com/inkscape/extensions.git to commit 1792934a09046fdef8aab20d05aad9c47f825bf5
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Ignoring pywinutils: markers 'sys_platform == "win32"' don't match your environment
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring types-pywin32: markers 'sys_platform == "win32"' don't match your environment
Collecting wxPython>=4.1.1 (from -r inkstitch/requirements.txt (line 12))
Downloading wxPython-4.2.3.tar.gz (58.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 MB 2.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting networkx (from -r inkstitch/requirements.txt (line 14))
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting shapely>=2.0.0 (from -r inkstitch/requirements.txt (line 15))
Downloading shapely-2.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB)
Collecting lxml (from -r inkstitch/requirements.txt (line 16))
Downloading lxml-5.3.2-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (3.6 kB)
Collecting platformdirs (from -r inkstitch/requirements.txt (line 17))
Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
Collecting numpy (from -r inkstitch/requirements.txt (line 18))
Downloading numpy-2.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Collecting jinja2>2.9 (from -r inkstitch/requirements.txt (line 19))
Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting requests (from -r inkstitch/requirements.txt (line 20))
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting tomli (from -r inkstitch/requirements.txt (line 24))
Downloading tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting colormath2 (from -r inkstitch/requirements.txt (line 26))
Downloading colormath2-3.0.3-py3-none-any.whl.metadata (2.9 kB)
Collecting flask>=2.2.0 (from -r inkstitch/requirements.txt (line 27))
Downloading flask-3.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting fonttools (from -r inkstitch/requirements.txt (line 28))
Downloading fonttools-4.57.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (102 kB)
Collecting trimesh>=3.15.2 (from -r inkstitch/requirements.txt (line 29))
Downloading trimesh-4.6.6-py3-none-any.whl.metadata (18 kB)
Collecting diskcache (from -r inkstitch/requirements.txt (line 30))
Downloading diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Collecting flask-cors (from -r inkstitch/requirements.txt (line 31))
Downloading flask_cors-5.0.1-py3-none-any.whl.metadata (961 bytes)
Collecting pytest (from -r inkstitch/requirements.txt (line 39))
Downloading pytest-8.3.5-py3-none-any.whl.metadata (7.6 kB)
Collecting types-wxpython (from -r inkstitch/requirements.txt (line 42))
Downloading types_wxpython-0.9.7-py3-none-any.whl.metadata (3.7 kB)
Collecting types-appdirs (from -r inkstitch/requirements.txt (line 43))
Downloading types_appdirs-1.4.3.5-py3-none-any.whl.metadata (1.6 kB)
Collecting types-shapely (from -r inkstitch/requirements.txt (line 44))
Downloading types_shapely-2.0.0.20250404-py3-none-any.whl.metadata (1.8 kB)
Collecting types-networkx (from -r inkstitch/requirements.txt (line 45))
Downloading types_networkx-3.4.2.20250319-py3-none-any.whl.metadata (2.3 kB)
Collecting types-lxml (from -r inkstitch/requirements.txt (line 46))
Downloading types_lxml-2025.3.30-py3-none-any.whl.metadata (10 kB)
Collecting Pillow>=7.0.0 (from inkex@ git+https://gitlab.com/inkscape/extensions.git@1792934a09046fdef8aab20d05aad9c47f825bf5->-r inkstitch/requirements.txt (line 7))
Downloading pillow-11.2.1-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (8.9 kB)
Collecting PyGObject>=3.36 (from inkex@ git+https://gitlab.com/inkscape/extensions.git@1792934a09046fdef8aab20d05aad9c47f825bf5->-r inkstitch/requirements.txt (line 7))
Downloading pygobject-3.52.3.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.2 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [78 lines of output]
Collecting meson-python>=0.12.1
Downloading meson_python-0.17.1-py3-none-any.whl.metadata (4.1 kB)
Collecting pycairo>=1.16
Downloading pycairo-1.27.0.tar.gz (661 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.5/661.5 kB 1.5 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
+ meson setup /tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e /tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e/.mesonpy-2u8s562k -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e/.mesonpy-2u8s562k/meson-python-native-file.ini
The Meson build system
Version: 1.7.2
Source dir: /tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e
Build dir: /tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e/.mesonpy-2u8s562k
Build type: native build
Project name: pycairo
Project version: 1.27.0
C compiler for the host machine: cc (gcc 14.2.0 "cc (Ubuntu 14.2.0-4ubuntu2) 14.2.0")
C linker for the host machine: cc ld.bfd 2.43.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/home/marie/venv/bin/python3)
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wconversion: YES
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-but-set-variable: YES
Compiler for C supports arguments -Wswitch-default: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency cairo found: NO
../cairo/meson.build:31:12: ERROR: Dependency lookup for cairo with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up.
A full log can be found at /tmp/pip-install-w4d34rrk/pycairo_fb48542a22394d05b8cb23c5a434564e/.mesonpy-2u8s562k/meson-logs/meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Hors ligne