On Fri, Nov 22, 2019 at 02:07:50PM +0100, Sebastien Marie wrote:
> On Fri, Nov 22, 2019 at 01:52:00PM +0100, Solene Rapenne wrote:
> > when trying to enable backend "bouygues" on weboob I get the following
> > error
>
> [...]
>
> > Traceback (most recent call last):
> > File "/usr/local/lib/python3.7/site-packages/weboob/core/modules.py",
> > line 149, in load_module
> > module = LoadedModule(imp.load_module(module_name, fp, pathname,
> > description))
> > File "/usr/local/lib/python3.7/imp.py", line 244, in load_module
> > return load_package(name, filename)
> > File "/usr/local/lib/python3.7/imp.py", line 216, in load_package
> > return _load(spec)
> > File "<frozen importlib._bootstrap>", line 696, in _load
> > File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
> > File "<frozen importlib._bootstrap_external>", line 728, in exec_module
> > File "<frozen importlib._bootstrap>", line 219, in
> > _call_with_frames_removed
> > File "/home/solene/.local/share/weboob/modules/1.5/bouygues/__init__.py",
> > line 8, in <module>
>
> the port www/weboob has RUN_DEPENDS only for the core (what lives in
> /usr/local/lib/python3.7/site-packages/weboob).
>
> The "backends" are installed by the user (semi-automatically) under
> ${HOME}/.local/share/weboob/modules/1.5/,
> and the port doesn't know what you could install or develop yourself :)
>
> So such error is expected (for me), that you might need to install additionals
> python modules in order to use specific backends.
>
> Thanks.
> --
> Sebastien Marie
indeed, this makes sense. I installed the module with pip --user and it
works :)