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

python rake-nltk/setup.py install error: package directory 'rake_nltk' does not exist #36

Open
sylwiaoz opened this issue Jan 24, 2019 · 3 comments

Comments

@sylwiaoz
Copy link

Hello,

I am getting the following error message "error: package directory 'rake_nltk' does not exist" when installing rake-nltk with:
git clone https://github.com/csurfer/rake-nltk.git
python rake-nltk/setup.py install :

I also tried the option pip install rake-nltk but the installation also fails:

File "/tmp/pip-build-2zTHYP/rake-nltk/setup.py", line 17, in _post_install
import nltk
ImportError: No module named nltk


Failed building wheel for rake-nltk
Running setup.py clean for rake-nltk
Running setup.py bdist_wheel for nltk ... done
Stored in directory: /home/sylwia/.cache/pip/wheels/4b/c8/24/b2343664bcceb7147efeb21c0b23703a05b23fcfeaceaa2a1e
Successfully built nltk
Failed to build rake-nltk
Installing collected packages: six, singledispatch, nltk, rake-nltk
Running setup.py install for rake-nltk ... done
Successfully installed nltk-3.4 rake-nltk-1.0.4 singledispatch-3.4.0.3 six-1.12.0

I would appreciate if you could help me out with that.

Kind regards
Sylwia

@lawzava
Copy link

lawzava commented Feb 11, 2019

Having same issue.

@cbz
Copy link

cbz commented May 6, 2019

Take a look here: #30 (comment) AFAICT the issue is with the nltk module not being properly installed when its installed as part of rake-nltk's chain of dependencies. You may need some or all of the commands in that comment. I was able to get away with just running the first step (pip install -U nltk).

That should solve the issue you are both having.

@daisySSSS
Copy link

daisySSSS commented Nov 27, 2019

Same issue. No idea how to solve.

running install
running build
running build_py
error: package directory 'rake_nltk' does not exist

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

4 participants