Code Monkey home page Code Monkey logo

Comments (4)

githubharald avatar githubharald commented on July 18, 2024

The package contains C++ code, so you need to install a C++ compiler on your computer.

from ctcwordbeamsearch.

JOHNATHANHOMER00 avatar JOHNATHANHOMER00 commented on July 18, 2024

Hi I received the same issue, once I installed the latest version of visual studio I received another error I have been trying to troubleshoot the error but when I fix one another pops up, not sure what to do. If there is a specific version of Visual Studio you recommend please let me know. Thanks.

For reference :
CMD

vs

tools

from ctcwordbeamsearch.

filipeas avatar filipeas commented on July 18, 2024

@JOHNATHANHOMER00 I was also having the same problem. I tried a little of everything, but I came to a conclusion that I believe is ideal due to the version of c++ implemented in this project. I did the following:

  • First, I installed visual studio build 2019 here the link.
    image
    image

  • After I tried it, I noticed that cl.exe is compatible with python 3.8.10. So I used anaconda and created a clean env with that exact python version.

After that, I restarted the computer and run pip install . inside the project directory and it worked.

image

I hope this helps.

PS: works with python 3.9 too! I tested it yesterday.

from ctcwordbeamsearch.

githubharald avatar githubharald commented on July 18, 2024

Locally I have Visual Studio 2019 installed, with that one it compiles.
When I find some time I will install 2022 to see what's the problem.
Until then, please go with 2019.

from ctcwordbeamsearch.

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.