Giter VIP home page Giter VIP logo

Comments (3)

myleott avatar myleott commented on August 18, 2024

After the attached PR lands, you should rerun python setup.py install and it will fetch the latest version.

from translate.

jmp84 avatar jmp84 commented on August 18, 2024

I actually tested installation from scratch and it seems to work. I'm not sure we want to pin to 0.5.
I assume what happened here was that you did a git pull on translate and didn't update fairseq?
@HaraldKorneliussen, does this work for you (once you're in the conda env): pip uninstall -y pytorch-translate fairseq, then python3 setup.py build develop ?

from translate.

HaraldKorneliussen avatar HaraldKorneliussen commented on August 18, 2024

I did a git pull on translate, yes. I did get it to work by building fairseq as well from source and installing that for development (with python3 setup.py build develop there). There was no fairseq-0.5.0 that conda could find. If I run
pip uninstall -y pytorch-translate fairseq

and

python3 setup.py build develop

(in the translate directory), it installs fairseq 0.4.0:


Processing dependencies for pytorch-translate==0.1
Searching for fairseq==0.4.0
Best match: fairseq 0.4.0
Processing fairseq-0.4.0-py3.6-linux-x86_64.egg
Adding fairseq 0.4.0 to easy-install.pth file

I can't find fairseq-0.5.0 in egg form anywhere. I have to install it from source and building it for development (in the miniconda environment).

from translate.

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.