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

Missing dependency PyYAML with Nikola-8.0.1 refresh installtion #3177

Closed
monkeyxite opened this issue Oct 13, 2018 · 1 comment
Closed

Missing dependency PyYAML with Nikola-8.0.1 refresh installtion #3177

monkeyxite opened this issue Oct 13, 2018 · 1 comment

Comments

@monkeyxite
Copy link

Environment (if reporting a bug)

Python Version:
3.7.0
Nikola Version:
Nikola-8.0.1
Operating System:
Mac

Description:

Refresh installation after pip, occur the dependency missing issue with PyYAML when creating new post. error message like this.

Creating New Post

Title: Test Nicula
Scanning posts..[2018-10-13T15:46:03Z] ERROR: Nikola: In order to use YAML metadata, you must install the "PyYAML" Python package.
[2018-10-13T15:46:03Z] ERROR: Nikola: Exiting due to missing dependencies.

After pip install PyYaml, all settled.

Suppose requirements.txt should be updated.

@Kwpolska
Copy link
Member

Kwpolska commented Oct 13, 2018

Not really. requirements.txt contains the basic, mandatory requirements. Your site uses the YAML metadata format, as configured, so you also have to install PyYAML on your own. (Note this message was generated by Nikola on purpose.)

You can use pip install 'Nikola[extras]' to get Nikola with all the extra requirements.

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

Successfully merging a pull request may close this issue.

2 participants