Code Monkey home page Code Monkey logo

Comments (7)

daandouwe avatar daandouwe commented on July 30, 2024

Hey @iamhere1,

Unfortunately, (for this reason ;)) OpenKiwi is not supported with Python<3.7. Could you try to reinstall with Python 3.7 or 3.8 and try again?

from openkiwi.

daandouwe avatar daandouwe commented on July 30, 2024

No problem! Oh that's a strange error - Transformers is a core package for OpenKiwi.

I just checked and it is in the dependencies (it did not disappear all of a sudden, that would have been very bad 😅 ): https://github.com/Unbabel/OpenKiwi/blob/master/pyproject.toml#L40

Did you maybe get an error when installing? Are you installing using poetry or using pip?

A quick solution for your problem (and maybe a check if the installation went right) is to

pip install -U transformers

But best to try to reinstall OpenKiwi first, to see if there is an error.

from openkiwi.

daandouwe avatar daandouwe commented on July 30, 2024

Did you solve the issue? I can't see the message anymore.

from openkiwi.

iamhere1 avatar iamhere1 commented on July 30, 2024

hi @daandouwe,
Thank you very much. I'm sorry to reply so late. I have some urgent matter to deal with these two days.
I tried using python 3.7 today, and installed some pakages, now it works.
Thank again for your help!

from openkiwi.

iamhere1 avatar iamhere1 commented on July 30, 2024

No problem! Oh that's a strange error - Transformers is a core package for OpenKiwi.

I just checked and it is in the dependencies (it did not disappear all of a sudden, that would have been very bad 😅 ): https://github.com/Unbabel/OpenKiwi/blob/master/pyproject.toml#L40

Did you maybe get an error when installing? Are you installing using poetry or using pip?

A quick solution for your problem (and maybe a check if the installation went right) is to

pip install -U transformers

But best to try to reinstall OpenKiwi first, to see if there is an error.

Yeah, I did this(using pip) and it is solved now, Thank you.

from openkiwi.

daandouwe avatar daandouwe commented on July 30, 2024

Nice that it's now working!

But you steel still needed to do an additional manual install of transformers?

from openkiwi.

iamhere1 avatar iamhere1 commented on July 30, 2024

Nice that it's now working!

But you steel needed to do an additional manual install of transformers?

Yeah, thank you very much! And thank you for the great contribution!

from openkiwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.