Code Monkey home page Code Monkey logo

Comments (4)

zico-1 avatar zico-1 commented on July 18, 2024

@githubharald @wangershi

from ctcwordbeamsearch.

githubharald avatar githubharald commented on July 18, 2024

please show the full error message + python version + operating sys.

from ctcwordbeamsearch.

zico-1 avatar zico-1 commented on July 18, 2024

Building wheels for collected packages: word-beam-search
Building wheel for word-beam-search (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\hp\Anaconda3\envs\GitHub\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\hp\AppData\Local\Temp\pi
p-req-build-706ftcqz\setup.py'"'"'; file='"'"'C:\Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', op
en)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.cl
ose();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\hp\AppData\Local\Temp\pip-wheel-o8yk511_'
cwd: C:\Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'word_beam_search' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for word-beam-search
Running setup.py clean for word-beam-search
Failed to build word-beam-search
Installing collected packages: word-beam-search
Running setup.py install for word-beam-search ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\hp\Anaconda3\envs\GitHub\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\hp\AppData\Local\Temp\
pip-req-build-706ftcqz\setup.py'"'"'; file='"'"'C:\Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"',
open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.
close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\hp\AppData\Local\Temp\pip-record-rpp6f4e4\install-record.txt' --single-version-exter
nally-managed --compile --install-headers 'C:\Users\hp\Anaconda3\envs\GitHub\Include\word-beam-search'
cwd: C:\Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz
Complete output (5 lines):
running install
running build
running build_ext
building 'word_beam_search' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\hp\Anaconda3\envs\GitHub\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\
Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz\setup.py'"'"'; file='"'"'C:\Users\hp\AppData\Local\Temp\pip-req-build-706ftcqz\setup.py'"'"';f = g
etattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace
('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\hp\AppData\Local\Temp\pip-record-rpp6f4e4\install-r
ecord.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\hp\Anaconda3\envs\GitHub\Include\word-beam-search' Check the logs for full comman
d output.

Using Python 3.9
OS Windows 10

from ctcwordbeamsearch.

githubharald avatar githubharald commented on July 18, 2024

please read the error message. The solution is already in there. Closing because this is not an error related to the code.

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.