Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nikola command does not run #3769

Open
marsianjohncarter opened this issue Apr 5, 2024 · 3 comments
Open

nikola command does not run #3769

marsianjohncarter opened this issue Apr 5, 2024 · 3 comments

Comments

@marsianjohncarter
Copy link

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

@marsianjohncarter marsianjohncarter changed the title nikol command does not run nikola command does not run Apr 5, 2024
@Kwpolska Kwpolska added question and removed bug labels Apr 6, 2024
@Kwpolska
Copy link
Member

Kwpolska commented Apr 6, 2024

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.

@marsianjohncarter
Copy link
Author

marsianjohncarter commented Apr 7, 2024

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

@Kwpolska
Copy link
Member

Kwpolska commented Apr 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants