I could not find any solutions to use "Manage Extensions" on the forums, Google or StackOverflow.
When selecting "Manage Extensions" the following error occurs.
Traceback (most recent call last): File "extension-manager-bootstrap.py", line 133, in <module> Bootstrap().run() File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/base.py", line 131, in run self.save_raw(self.effect()) File "extension-manager-bootstrap.py", line 78, in effect if self.install_fallback(): File "extension-manager-bootstrap.py", line 96, in install_fallback from urllib3.exceptions import NewConnectionError ModuleNotFoundError: No module named 'urllib3'
I would prefer to download extensions via the application, but if this won't work I will just manually install them in the future.
I am using Mac OS 11.4 and the latest download from the Inkscape site.
Ah, I should have mentioned this, but even when I installed the missing module `urllib3` I get the same error. No worries. If I figure out the solve, I will post it here. Thanks for the response.
You've probably installed urllib3 for your system's default python. Inkscape on OSX ships its own Python install; you can fix this problem by doing the following in a terminal:
INKSCAPE_PY=/Applications/Inkscape.app/Contents/Frameworks/Python.framework/Versions/3.8 OLD_PATH=$PATH export PATH=$INKSCAPE_PY/bin:$PATH # Just so pip finds the right python $INKSCAPE_PY/bin/pip3 install urllib3 # Install urllib3 in Inkscape's python export PATH=$OLD_PATH # reset your terminal session to its previous PATH
I did not even think about Inkscape installing its own Python. That got me a little closer I had to install requests too. This is the output which looks more like an internal error:
Traceback (most recent call last): File "extension-manager-bootstrap.py", line 133, in <module> Bootstrap().run() File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/base.py", line 131, in run self.save_raw(self.effect()) File "extension-manager-bootstrap.py", line 64, in save_raw run_existing(sys.argv) File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/manage_extensions.py", line 43, in run from inkman.gui import ManagerApp File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/inkman/gui/__init__.py", line 21, in <module> from gtkme import GtkApp File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/gtkme/__init__.py", line 34, in <module> import gi File "/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/__init__.py", line 42, in <module> from . import _gi ImportError: dlopen(/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so, 2): no suitable image found. Did find: /Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so: code signing blocked mmap() of '/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so'
Sorry my message needed admin approval so I couldn't edit/add the info I found out shortly after -- indeed after installing `urllib3`, `requests` and a 3rd package I forgot the name of, I still ended up with a more cryptic error (similar, but not exactly the same as yours, iirc). I then decided to try out the latest dev version of Inkscape; after installing some of the libs above (probably `urllib3` and `requests` but I'm not 100% sure), things started working.
Greg - thanks for getting back to me. I am sure that it will start working "sooner" than "later" 😁. Honestly, I just decided to put Inkscape through its paces and drop usage of tools like Figma and others since I typically fall back to using Inkscape for a lot. Basically, whenever I have added extensions in the past, I have done it manually. But, since I just switched back to Macs from Ubuntu/Pop_OS I thought I would test out the menu option.
I could not find any solutions to use "Manage Extensions" on the forums, Google or StackOverflow.
When selecting "Manage Extensions" the following error occurs.
Traceback (most recent call last):
File "extension-manager-bootstrap.py", line 133, in <module>
Bootstrap().run()
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/base.py", line 131, in run
self.save_raw(self.effect())
File "extension-manager-bootstrap.py", line 78, in effect
if self.install_fallback():
File "extension-manager-bootstrap.py", line 96, in install_fallback
from urllib3.exceptions import NewConnectionError
ModuleNotFoundError: No module named 'urllib3'
I would prefer to download extensions via the application, but if this won't work I will just manually install them in the future.
I am using Mac OS 11.4 and the latest download from the Inkscape site.
Yes, there are some missing modules from the Linux version, ( prob the same for macos )
I think the focus was on getting it working for Windows users, which I agree with as they are the bigger user group.
On Linux it's easy enough to fix. Everytime it pops up with an error no module named - just install that module
for example
sudo pip install appdirs
sudo pip install cachecontrol
You should only have to do it once.
Ah, I should have mentioned this, but even when I installed the missing module `urllib3` I get the same error. No worries. If I figure out the solve, I will post it here. Thanks for the response.
You've probably installed urllib3 for your system's default python. Inkscape on OSX ships its own Python install; you can fix this problem by doing the following in a terminal:
INKSCAPE_PY=/Applications/Inkscape.app/Contents/Frameworks/Python.framework/Versions/3.8
OLD_PATH=$PATH
export PATH=$INKSCAPE_PY/bin:$PATH # Just so pip finds the right python
$INKSCAPE_PY/bin/pip3 install urllib3 # Install urllib3 in Inkscape's python
export PATH=$OLD_PATH # reset your terminal session to its previous PATH
(if I could edit my post above I'd remove the `'` from the comment in line 4)
I did not even think about Inkscape installing its own Python. That got me a little closer I had to install requests too. This is the output which looks more like an internal error:
Traceback (most recent call last):
File "extension-manager-bootstrap.py", line 133, in <module>
Bootstrap().run()
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/base.py", line 131, in run
self.save_raw(self.effect())
File "extension-manager-bootstrap.py", line 64, in save_raw
run_existing(sys.argv)
File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/manage_extensions.py", line 43, in run
from inkman.gui import ManagerApp
File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/inkman/gui/__init__.py", line 21, in <module>
from gtkme import GtkApp
File "/Users/andre/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/org.inkscape.inkman/gtkme/__init__.py", line 34, in <module>
import gi
File "/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: dlopen(/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so, 2): no suitable image found. Did find:
/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so: code signing blocked mmap() of '/Applications/Inkscape.app/Contents/Resources/lib/python3.8/site-packages/gi/_gi.cpython-38-darwin.so'
Hey Andre,
Sorry my message needed admin approval so I couldn't edit/add the info I found out shortly after -- indeed after installing `urllib3`, `requests` and a 3rd package I forgot the name of, I still ended up with a more cryptic error (similar, but not exactly the same as yours, iirc). I then decided to try out the latest dev version of Inkscape; after installing some of the libs above (probably `urllib3` and `requests` but I'm not 100% sure), things started working.
Greg - thanks for getting back to me. I am sure that it will start working "sooner" than "later" 😁. Honestly, I just decided to put Inkscape through its paces and drop usage of tools like Figma and others since I typically fall back to using Inkscape for a lot. Basically, whenever I have added extensions in the past, I have done it manually. But, since I just switched back to Macs from Ubuntu/Pop_OS I thought I would test out the menu option.
WE ARE GETTING THE FOLLOWING ERROR WHILE WORKING ON AARCH 64 BASED PC WITH UBUNTU 20.04 AS OS GLIBC 2.31 :
[8092] Error loading Python lib '/home/user/.config/inkscape/extensions/AxiDraw_395_LinARM/build_deps/libpython3.11.so.1.0': dlopen: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /home/user/.config/inkscape/extensions/AxiDraw_395_LinARM/build_deps/libpython3.11.so.1.0)