Closed limorigu closed 6 years ago
Hi Limor,
Sorry to hear about your problems installing the package.
I just removed a number of packages from the install requirements, and all you'll need is numpy, scipy, scikit-learn, and pandas. You'll need sPacy to run some of the example code, but you could always use a call to st.whitespace_nlp_with_sentences to use dumb regex tokenization and punctuation-based sentence segmentation.
Please try to run pip install scattertext again, and let me know if this works.
Jason
Hi Jason,
Thanks so much for your helpful comment! In fact, I ended up using the package on a mac I found, on which it worked perfectly. I got too frustrated with spending so much time on installation on Windows.
Thanks again for taking the time to answer, and for developing this to begin with, you did an awesome job! Limor
Great to hear!
Dear Jason and
scattertext
community,I'm trying to install scattertext on my windows machine via pip for the past few hours and found it extremely frustrating. I installed most dependencies by downloading wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/, but one doesn't exist for scattertext.
I've been googling to exhaustion people with similar issues. Many times they suggest reinstalling visual studio and/or adding folders to PATH environment variable. I keep on running into new issues each time. (I keep on failing with fatal error C1083: Cannot open include file: 'io.h': No such file or directory when the installation tries to build wheels of cytoolz, thinc and spacy, even though I pre-installed them from wheels taken from the link above. If I fix the io.h issue by changing the include directory with the command line set, it then cannot include vcruntime.h, which lives in a different directory. Adding both of them to path doesn't resolve the issue.) It looks something like this:
I also saw you comment on
and tried installing miniconda and going through that route, but unfortunately I couldn't locate the relevant file in conda-forge for some reason.
Has anyone dealt with this issue successfully and might have any insight?
Many thanks, Limor