Coder Social home page Coder Social logo

Eng.Reem Emad's Projects

warp-ctc-error-while-installing-extention.h-missing-file icon warp-ctc-error-while-installing-extention.h-missing-file

I am trying to install warp-ctc on python 2.7 and pytorch 0.4.1 "installed by pip install ... not manually". I have this error when I run this commad: python setup.py install, the erroe is :running build_ext building 'warpctc_pytorch._warp_ctc' extension gcc -pthread -B /home/reememad/anaconda3/envs/pythonProjectTest2pytorch/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/reememad/PycharmProjects/pythonProjectTest2pytorch/warp-ctc/include -I/home/reememad/anaconda3/envs/pythonProjectTest2pytorch/lib/python2.7/site-packages/torch/lib/include -I/home/reememad/anaconda3/envs/pythonProjectTest2pytorch/lib/python2.7/site-packages/torch/lib/include/TH -I/home/reememad/anaconda3/envs/pythonProjectTest2pytorch/lib/python2.7/site-packages/torch/lib/include/THC -I/usr/include -I/home/reememad/anaconda3/envs/pythonProjectTest2pytorch/include/python2.7 -c src/binding.cpp -o build/temp.linux-x86_64-2.7/src/binding.o -std=c++14 -fPIC -DWARPCTC_ENABLE_GPU -DTORCH_EXTENSION_NAME=_warp_ctc -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ src/binding.cpp:6:10: fatal error: torch/extension.h: No such file or directory #include <torch/extension.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1

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.