Skip to content

(v8.3.1) Nikola managed by pipx doesn't use textile dependency once injected #3800

@glasswings

Description

@glasswings

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions