lua---camera icon indicating copy to clipboard operation
lua---camera copied to clipboard

Run problem:failed to load camopencv wrapper: verify that camopencv is installed

Open Meirtz opened this issue 8 years ago • 2 comments

I was tring to run require 'camera' to test it, only to find camopencv has not been installed. Is there any problem of my operation or where should I get this package? Here's the details:

th> require 'camera'
/Users/Meirtz/torch/install/share/lua/5.1/trepl/init.lua:384: ...s/Meirtz/torch/install/share/lua/5.1/luarocks/loader.lua:154: Invalid data in manifest file for module camopencv (invalid data for camera 1.1-0)   
warning: <camopencv> could not be loaded (is it installed?) 
/Users/Meirtz/torch/install/share/lua/5.1/trepl/init.lua:384: /Users/Meirtz/torch/install/share/lua/5.1/xlua/init.lua:321: failed to load camopencv wrapper: verify that camopencv is installed
stack traceback:
    [C]: in function 'error'
    /Users/Meirtz/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
    [string "_RESULT={require 'camera'}"]:1: in main chunk
    [C]: in function 'xpcall'
    /Users/Meirtz/torch/install/share/lua/5.1/trepl/init.lua:651: in function 'repl'
    ...irtz/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
    [C]: at 0x0106258bd0    
                                                                      [0.0096s]


Any reply I will appreciate it

Meirtz avatar Mar 05 '16 20:03 Meirtz

Try to install opencv brew install opencv.

codeAC29 avatar Aug 25 '16 22:08 codeAC29

I'm also facing the same issue. And yes I did install opencv. Another thing is that opencv along another dependencies installed also numpy which I already had installed via anaconda. Now brew is suggesting me to change the paths of precedence regarding numpy.

kirk86 avatar Sep 26 '16 01:09 kirk86