On Sat, 30 Dec 2023 at 17:08, Pito Salas <[email protected]> wrote:
>
> I must have something messed up. I am not using env. I simply installed with 
> pip. No "extras".  Here's the trace:
>
> ~/mydev/wpconvert python --version
> Python 3.12.0
> ~/mydev/wpconvert which python
> /Users/pitosalas/.pyenv/shims/python
> ~/mydev/wpconvert whichh nikola
> zsh: command not found: whichh
> ~/mydev/wpconvert which nikola
> /Users/pitosalas/.pyenv/shims/nikola
> ~/mydev/wpconvert nikola --version
> Traceback (most recent call last):
>   File 
> "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/yapsy/PluginManager.py",
>  line 132, in <module>
>     import importlib.abc.Loader as imp
> ModuleNotFoundError: No module named 'importlib.abc.Loader'; 'importlib.abc' 
> is not a package
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/Users/pitosalas/.pyenv/versions/3.12.0/bin/nikola", line 5, in 
> <module>
>     from nikola.__main__ import main
>   File 
> "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/nikola/__init__.py",
>  line 39, in <module>
>     from .nikola import Nikola  # NOQA
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/nikola/nikola.py",
>  line 49, in <module>
>     from yapsy.PluginManager import PluginManager
>   File 
> "/Users/pitosalas/.pyenv/versions/3.12.0/lib/python3.12/site-packages/yapsy/PluginManager.py",
>  line 134, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'

Hi,

the plugin system Nikola is using (yapsy) is not compatible with
Python 3.12. You can try installing Yapsy from GitHub, it might yield
better results: https://github.com/tibonihoo/yapsy/issues/16

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7JgP9OGzz8dHAr1142diuYRybL5mYAyo%2BrC%3DbrTHj0npw%40mail.gmail.com.

Reply via email to