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'