Can you please help me with the installation of node opencv
I have opencv installed which I can access from python. It is in d:\opencv When I try to issue the command c:\npm install opencv I get errors which is given below C:\>npm install opencv npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No readme data. npm http GET https://registry.npmjs.org/opencv npm http 304 https://registry.npmjs.org/opencv npm WARN package.json [email protected] No repository field. > [email protected] preinstall C:\node_modules\opencv > node-gyp clean rebuild C:\node_modules\opencv>node "C:\Program Files\nodejs\node_modules\npm\bin\node-g yp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean rebuild 'pkg-config' is not recognized as an internal or external command, operable program or batch file. gyp: Call to 'pkg-config --cflags "opencv >= 2.3.1"' returned exit status 1. whi le trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_module s\npm\node_modules\node-gyp\lib\configure.js:415:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789: 12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "clean" "rebuild" gyp ERR! cwd C:\node_modules\opencv gyp ERR! node -v v0.10.7 gyp ERR! node-gyp -v v0.9.5 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0 This is the prove that opencv is installed. C:\>python Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> import sys The path of the system C:\>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLSha red\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Comm on Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\Audio Core\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Blue tooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Microsoft SQL Server\100\Too ls\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\ Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\nodejs\;C:\Python27\;C:\ATI. ACE\Core-Static;C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files\TortoiseSV N\bin;c:\python;C:\Users\Subhendu\AppData\Roaming\npm; Please let me know where am I going wrong Also please let me know the method of installing in a Ubuntu (Linux) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
