Minggoori
Minggoori

Reputation: 1

pip install glove-python-binary not working

I encountered an error when I tried to run the code for the GloVe package in Python3. I'm currently using Windows 10 with Anaconda3. And I'm looking for assistance with this issue.

Here's the code I tried: pip install glove-python-binary

And here's the error message I got:

ERROR: Could not find a version that satisfies the requirement glove-python-binary (from versions: none) ERROR: No matching distribution found for glove-python-binary

enter image description here

I downgraded Anaconda3's Python version to 3.7, but I encountered a different error message. enter image description here

Upvotes: 0

Views: 1228

Answers (3)

sahaj patel
sahaj patel

Reputation: 139

It's "conda install -c conda-forge glove"

refer link https://anaconda.org/sbu-hpc/glove

or try

You can use Glove from mittens as well. Mittens use the same algorithm as GloVe and vectorizes the objective function.

Install:

pip install -U mittens Import:

from mittens import GloVe For Details - https://github.com/roamanalytics/mittens#mittens

Upvotes: 0

최지훈
최지훈

Reputation: 1

I couldn't solve it either, but I just found it and am sharing it.

!pip install glove-python3 (in colab, after 2023, version:python3.10)

Please refer to https://github.com/maciejkula/glove-python/issues/120

Upvotes: -1

dML
dML

Reputation: 51

Posting an answer as I don't have enough reputation to comment.

Firstly, it seems that you're using Jupyter Notebook. Starting a code cell with a bang character, e.g. !, instructs Jupyter to treat the code on that line as an OS shell command. For example, !pip install <package>.

Secondly, check out this answer which should solve your problem.

Upvotes: 1

Related Questions