Can't install grc_odycy_joint_trf

#1
by art735 - opened

Hello!
I'm an amator Python coder (Python 3.11.9 64-bit on Windows10), trying to install grc_odycy_joint_trf with the following command (cmd is run under Admin privileges):

pip install https://huggingface.co/chcaa/grc_odycy_joint_trf/resolve/main/grc_odycy_joint_trf-any-py3-none-any.whl

and get the following error in console:

ERROR: Invalid requirement: 'grc-odycy-joint-trf==any': Expected end or semicolon (after name and no valid version specifier)
grc-odycy-joint-trf==any
^

What am I doing wrong? Please, help! I've already wasted so much time...

You're doing nothing wrong. They fumbled the name of the wheel (.whl). The first "any" should be "0.7.0", since that's the actual version stated inside the wheel if you unzip and look.

So running pip install grc_odycy_joint_trf-0.7.0-py3-none-any.whl works, as long as you also make sure to have spacy 3.7.5, as the new 3.8.x is not supported. Python 3.12 is also recommended. Confirm installation with pip show grc_odycy_joint_trf. If everything looks fine there, you can go ahead and try a little "hello world":

import grc_odycy_joint_trf
nlp = grc_odycy_joint_trf.load()

doc = nlp("χαῖρε ὦ οἰκουμένη")

for token in doc:
   print(token.orth_, token.lemma_,token.is_stop, token.pos_, token.morph, token.dep_, token.head)

Let's do some grc NLP!

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment