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

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' #45

Closed
LizMcQuillan opened this issue Oct 10, 2019 · 2 comments

Comments

@LizMcQuillan
Copy link

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)
  Using cached https://files.pythonhosted.org/packages/e9/57/8a9889d49d0d77905af5a7524fb2b468d2ef5fc723684f51f5ca63efed0d/scikit_learn-0.21.3-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting mock (from scattertext)
  Downloading https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Requirement already satisfied: six in ./anaconda3/lib/python3.7/site-packages (from scattertext) (1.12.0)
Collecting statsmodels (from scattertext)
  Using cached https://files.pythonhosted.org/packages/b5/b8/50f9b86bbd87b1de961f439c2b93dfc41dd0cb9d65f6b7d824b287b50b21/statsmodels-0.10.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
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

@JasonKessler
Copy link
Owner

JasonKessler commented Oct 10, 2019 via email

@JasonKessler
Copy link
Owner

I tried to install Scattertext 0.0.2.55 in a fresh virtual environment and it worked fine. From another issue the requester filed (pandas-dev/pandas#28902), it appears this stems from a corrupted pandas installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants