You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nikola 8.3.1
fresh install using `pipx install Nikola[extras]
Operating System:
Debian Trixie (testing version, as of today, Nov 26)
Description:
Install the Textile plugin, configure, and create a post. Run nikola build. This produces the error
[2024-11-26 21:45:30] ERROR: Nikola: In order to build this site (compile Textile), you must install the "textile" Python package.
[2024-11-26 21:45:30] ERROR: Nikola: Exiting due to missing dependencies.
Looking in ~/.local/pipx/venvs/nikola/lib/python3.12/site-packages/ shows that textile is not installed.
Textile is very installed on the system, both globally (apt install python3-textile) and in a pipx-managed venv (pipx install textile).
I can understand Nikola only looking in its own environment, but this is probably confusing to beginners.
Next I run pipx inject Nikola textile. This installs textile in site-packages/ of the nikola venv. However Nikola still generates the same error.
The text was updated successfully, but these errors were encountered:
After some print debugging... It looks like the plugin named "textile" ends up importing itself. Maybe the plugin should never have been named "textile" because it conflicts with the library also named textile.
I renamed the plugin to textilecomp and it seems to be working.
Environment
Python Version:
pipx version 1.7.1
Python version 3.12.7
Nikola Version:
Nikola 8.3.1
fresh install using `pipx install Nikola[extras]
Operating System:
Debian Trixie (testing version, as of today, Nov 26)
Description:
Install the Textile plugin, configure, and create a post. Run
nikola build
. This produces the errorLooking in
~/.local/pipx/venvs/nikola/lib/python3.12/site-packages/
shows that textile is not installed.Textile is very installed on the system, both globally (
apt install python3-textile
) and in a pipx-managed venv (pipx install textile
).I can understand Nikola only looking in its own environment, but this is probably confusing to beginners.
Next I run
pipx inject Nikola textile
. This installs textile insite-packages/
of thenikola
venv. However Nikola still generates the same error.The text was updated successfully, but these errors were encountered: