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

Doesn't work after install due to configuration handling issue #196

Closed
osma opened this issue Nov 5, 2018 · 0 comments · Fixed by #200
Closed

Doesn't work after install due to configuration handling issue #196

osma opened this issue Nov 5, 2018 · 0 comments · Fixed by #200
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Nov 5, 2018

After installing Annif using python setup.py install (within a pipenv shell) I cannot run Annif anymore but get this error message:

ImportError: No module named 'config'

The problem is that config.py is not included in the installed package. It could probably be overridden using an environment variable, but there should be a sane default.

This blocks the PyPI release (#195) as the same situation will happen when installing a package from PyPI.

@osma osma added the bug label Nov 5, 2018
@osma osma added this to the v0.35 milestone Nov 5, 2018
osma added a commit that referenced this issue Nov 6, 2018
@osma osma closed this as completed in #200 Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant