-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Building wheel fails due post-install hook #30
Comments
Is this issue has any solution |
Running these before installing rake-nltk fixed the problem for me. All of them may or may not be required:
|
Note that while
|
Facing the same issue. Leave downloading datasets to user! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When trying to build a wheel for rake-nltk package it fails if system does not have nltk package installed explicitly.
Apparently during
bdist
orbdist_wheel
commands distutils also does an "fake" install -- and apparently without installing requirements before.From docs: https://docs.python.org/3/distutils/builtdist.html
I am not familiar with distutils enough to know if it is possible to distinguish such "fake" install from real install.
Our use case is to build wheels during packaging progress on build server and then later use these wheels to speed up deployment. There is no reason to install python packages on build server itself and in some cases it would be hard to identify requirements before -- for an example if some other package has rake-nltk as install_requirement in setup.py.
This problem would not exists if rake-nltk would be available as wheel on pypi (but then package installation would not automatically download "punkt" and "stopwords").
The text was updated successfully, but these errors were encountered: