hughperkins / pytorch

Python wrappers for torch and lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install Pytorch from source python 2.7 (No GPU)

Ram81 opened this issue · comments

Cannot uninstall requirement PyTorch, not installed
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /home/rockstar/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rockstar/torch/pytorch/cbuild
Scanning dependencies of target PyTorchNative
[ 50%] [100%] Building CXX object CMakeFiles/PyTorchNative.dir/src/nnWrapper.cpp.o
Building CXX object CMakeFiles/PyTorchNative.dir/src/LuaHelper.cpp.o
Linking CXX shared library libPyTorchNative.so
/usr/bin/ld: cannot find -lluajit
collect2: error: ld returned 1 exit status
make[2]: *** [libPyTorchNative.so] Error 1
make[1]: *** [CMakeFiles/PyTorchNative.dir/all] Error 2
make: *** [all] Error 2