Closed LizMcQuillan closed 4 years ago
Not 100% sure why this would happen, but you might want to create a fresh virtual environment and install it there. It sounds like your pandas installation got corrupted somehow.
On Thu, Oct 10, 2019 at 10:09 AM Liz notifications@github.com wrote:
I'm using a Mac, running Python 3.7. Following the install instructions, using pip install scattertext, I get this error.
Error:
No metadata found in ./anaconda3/lib/python3.7/site-packages
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/Users/lmcquillan/anaconda3/lib/python3.7/site-packages/pandas-0.25.1.dist-info/METADATA'
Full traceback:
Collecting scattertext
Downloading https://files.pythonhosted.org/packages/9a/08/d6869cc9e8496afbb3f1c27e8c229609a39c96125f36f31f8f9ada681338/scattertext-0.0.2.55-py3-none-any.whl (6.7MB)
100% |████████████████████████████████| 6.7MB 4.3MB/s
Requirement already satisfied: scipy in ./anaconda3/lib/python3.7/site-packages (from scattertext) (1.1.0)
Collecting scikit-learn (from scattertext)
Collecting mock (from scattertext)
Requirement already satisfied: six in ./anaconda3/lib/python3.7/site-packages (from scattertext) (1.12.0)
Collecting statsmodels (from scattertext)
Requirement already satisfied: pandas in ./anaconda3/lib/python3.7/site-packages (from scattertext) (0.25.1)
No metadata found in ./anaconda3/lib/python3.7/site-packages
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/Users/lmcquillan/anaconda3/lib/python3.7/site-packages/pandas-0.25.1.dist-info/METADATA'
My Environment: Platform: Darwin-18.7.0-x86_64-i386-64bit Python version: 3.7.3
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JasonKessler/scattertext/issues/45?email_source=notifications&email_token=AACMMXHMC24RGUDAJKFCZ63QN5OTBA5CNFSM4I7PWFL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQ7ZIYQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACMMXHAVAXJIZR5YGDY5KDQN5OTBANCNFSM4I7PWFLQ .
I tried to install Scattertext 0.0.2.55 in a fresh virtual environment and it worked fine. From another issue the requester filed (https://github.com/pandas-dev/pandas/issues/28902), it appears this stems from a corrupted pandas installation.
I'm using a Mac, running Python 3.7. Following the install instructions, using
pip install scattertext
, I get this error.Error:
Full traceback:
My Environment: Platform: Darwin-18.7.0-x86_64-i386-64bit Python version: 3.7.3