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

[BUG] Requirement package pyyaml won't be installed. #19

Closed
Evyde opened this issue Sep 7, 2020 · 3 comments
Closed

[BUG] Requirement package pyyaml won't be installed. #19

Evyde opened this issue Sep 7, 2020 · 3 comments

Comments

@Evyde
Copy link

Evyde commented Sep 7, 2020

I installed it via pip install python-i18n, and it shows installed successfully. But I can't use yaml file and I soon found that the requirement package pyyaml wasn't installed automatically. I tested it on macOS 10.15.6 and Windows 10 2004. They both showed that problem.

@danhper
Copy link
Owner

danhper commented Sep 7, 2020

Hi!
Yaml is optional so this is the desired behavior. It is documented in the README: https://github.com/danhper/python-i18n#installation

@danhper danhper closed this as completed Sep 7, 2020
@Evyde
Copy link
Author

Evyde commented Sep 8, 2020

Sorry. I checked README even the source code many times but I still not found a tips to install it until I checked the requirements.txt. SoI think users should be explicitly reminded to install pyyaml.

@danhper
Copy link
Owner

danhper commented Sep 8, 2020

The users do not need to install pyyaml themselves.
The README explicitly says:

If you want to use YAML to store your translations, use
pip install python-i18n[YAML]

which installs pyyaml too.

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

No branches or pull requests

2 participants