getnikola/nikola

`nikola` command does not run

marsianjohncarter opened this issue · 3 comments

Environment

Python Version: 3.11.5

Nikola Version: Installing through pip

Operating System: Ubuntu 24.04

Description:

I installed nikola as it was told here: https://getnikola.com/getting-started.html
But when I run the command "nikola":

Illegal instruction (core dumped)

I activated the environment through the command source bin/activate

An illegal instruction is unlikely to be caused by Nikola, it might be caused by Python or some dependency. Please run NIKOLA_DEBUG=1 venv/bin/python --verbose -m nikola so we can try to find a likely cause.

@Kwpolska

Running from root folder where nikola-env is located

Command:

NIKOLA_DEBUG=1 venv/bin/python --verbose -m nikola

Ouput:

bash: venv/bin/python: No such file or directory

Command:

 NIKOLA_DEBUG=1 nikola-env/bin/python --verbose -m niko
la

Output:

unknown option --verbose
usage: nikola-env/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

I didn’t remember the specific argument, so I assumed it has a long name, but it doesn’t. Try;

NIKOLA_DEBUG=1 nikola-env/bin/python -v -m nikola