Nebula-Developers / Moomoo-AI-Bot-Sender

A Moomoo Bot Sender with AI.
https://discord.gg/ZYND2Xd
GNU General Public License v3.0
10 stars 17 forks source link

Unable to install robotjs #29

Open Retopia opened 6 years ago

Retopia commented 6 years ago

I followed the steps on the Github, but was unable to install robotjs.

It says "ImportError: No module named gyp"

Also my operating system is Windows 7

Here's the stack trace:

ImportError: No module named gyp gyp ERR! configure error gyp ERR! stack Error:gypfailed 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:336:16) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:237:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Name\Desktop\Moomoo-AI-Bot-Sender-master\node_modules\rob otjs gyp ERR! node -v v10.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! robotjs@0.5.1 install:prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the robotjs@0.5.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Name\AppData\Roaming\npm-cache\_logs\2018-05-25T06_45_12_ 898Z-debug.log

Mega-Mewthree commented 6 years ago

Try npm install -g npm. If that doesn't work, see https://github.com/nodejs/node-gyp/issues/807.

Retopia commented 6 years ago

It still doesn't work, and I've checked that thread 2 days ago and used it's solutions.