Cant load plugins

I did a Fiduswriter install using pip under Python Venv,
under ve activated
I did: pip3 install fiduswiter[books]

pip freeze, show “fiduswriter-books…” there.
The install seams ok. But, after add books to APPS in configuration.py,
Doing a fiduswriter setup return the following error.
Did I miss something?

(ve) fiduswriter@666a80f710d8:~$ fiduswriter setup
Traceback (most recent call last):
  File "/fiduswriter/ve/bin/fiduswriter", line 11, in <module>
    load_entry_point('fiduswriter==3.7.27', 'console_scripts', 'fiduswriter')()
  File "/fiduswriter/ve/lib/python3.6/site-packages/fiduswriter/manage.py", line 77, in entry
    inner(os.getcwd())
  File "/fiduswriter/ve/lib/python3.6/site-packages/fiduswriter/manage.py", line 69, in inner
    execute_from_command_line(sys_argv)
  File "/fiduswriter/ve/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/fiduswriter/ve/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/fiduswriter/ve/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/fiduswriter/ve/lib/python3.6/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/fiduswriter/ve/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'books'```

Hey @jobdiogenes,
yes that is slightly confusing. The module to add is “book” (singular) while the plugin is called “fiduswriter-books” (plural).

In general, the easiest under most circumstances will be to just run the Snap-based installation, which includes all the plugins and where this sort of thing cannot happen.

Hi @johanneswilm,
Thanks very much.
Now its working.

1 Like