Re: inkscape 1.2.1

From: LuMiWa <lumiwa_at_dismail.de>
Date: Sun, 13 Nov 2022 10:13:44 UTC
On Sat, 12 Nov 2022 19:22:08 -1000
"parv/FreeBSD" <parv.0zero9+freebsd@gmail.com> wrote:

> On Sat, Nov 12, 2022 at 9:10 AM LuMiWa wrote:
> 
> > I am using Inkscape 1.2.1 on FreeBSD 13.1 - Release - p3 and it
> > works. The problem which I have is when going File - Import Web
> > Image... than I got:
> >
> > Traceback (most recent call last):
> >   File
> > "/usr/local/share/inkscape/extensions/other/clipart/import_web_image.py",
> > line 47, in <module>
> >     from import_sources import RemoteSource, RemoteFile, RemotePage
> >   File
> > "/usr/local/share/inkscape/extensions/other/clipart/import_sources.py",
> > line 26, in <module>
> >     import requests
> > ModuleNotFoundError: No module named 'requests'
> >
> > And I am using packages (pkg install)
> >
> 
> The error is due to "inkspace" *ass*uming that "requests"
> module would already be available. Either it (original software)
> needs to intercept the error & ask user to install the
> missing package. Or, the FreeBSD port needs to unconditionally
> have "requests" as the run time dependency.
> 
> LuMiWa,
> 
> Try again after installing the "py39-requests" package ...
> 
>   pkg install py39-requests
> 
> ... if you are running Python 3.9 ("python --version" would
> tell). Else, adjust "39" in "py39" for your version of
> python.
> 
> 
> - parv

Thank you. I did install and try again but it doesn't work:
Traceback (most recent call last):

  File "/usr/local/share/inkscape/extensions/other/clipart/import_web_image.py", line 47, in <module>
    from import_sources import RemoteSource, RemoteFile, RemotePage
  File "/usr/local/share/inkscape/extensions/other/clipart/import_sources.py", line 29, in <module>
    from cachecontrol import CacheControl, CacheControlAdapter
ModuleNotFoundError: No module named 'cachecontrol'

-- 
“When we are shown scenes of starving children in Africa, with a call
for us to do something to help them, the underlying ideological message
is something like: "Don't think, don't politicize, forget about the
true causes of their poverty, just act, contribute money, so that you
will not have to think!”

― Slavoj Zizek