Re: inkscape 1.2.1

From: parv/FreeBSD <parv.0zero9+freebsd_at_gmail.com>
Date: Sun, 13 Nov 2022 05:22:08 UTC
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