Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install robotjs #29

Open
Retopia opened this issue May 25, 2018 · 2 comments
Open

Unable to install robotjs #29

Retopia opened this issue May 25, 2018 · 2 comments

Comments

@Retopia
Copy link

Retopia commented May 25, 2018

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! [email protected] install:prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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
Copy link
Collaborator

Try npm install -g npm. If that doesn't work, see nodejs/node-gyp#807.

@Retopia
Copy link
Author

Retopia commented May 27, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants