Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2022 05:13:44 -0500
From:      LuMiWa <lumiwa@dismail.de>
To:        questions@freebsd.org
Subject:   Re: inkscape 1.2.1
Message-ID:  <20221113051344.5d517339@dismail.de>
In-Reply-To: <CABObuOr=r25Ap9qabPx-rfxp=xypz6VLBVcf28S63srnHEWAjA@mail.gmail.com>
References:  <20221112140934.157b9d6e@dismail.de> <CABObuOr=r25Ap9qabPx-rfxp=xypz6VLBVcf28S63srnHEWAjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>=20
> > 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)
> >
>=20
> 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.
>=20
> LuMiWa,
>=20
> Try again after installing the "py39-requests" package ...
>=20
>   pkg install py39-requests
>=20
> ... if you are running Python 3.9 ("python --version" would
> tell). Else, adjust "39" in "py39" for your version of
> python.
>=20
>=20
> - 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.p=
y", line 29, in <module>
    from cachecontrol import CacheControl, CacheControlAdapter
ModuleNotFoundError: No module named 'cachecontrol'

--=20
=E2=80=9CWhen we are shown scenes of starving children in Africa, with a ca=
ll
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!=E2=80=9D

=E2=80=95 Slavoj Zizek =20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221113051344.5d517339>