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

python3跑不起来,尴尬 #7

Open
LinuxProgramDevelop opened this issue Nov 6, 2022 · 0 comments
Open

python3跑不起来,尴尬 #7

LinuxProgramDevelop opened this issue Nov 6, 2022 · 0 comments

Comments

@LinuxProgramDevelop
Copy link

LinuxProgramDevelop commented Nov 6, 2022

图片
`npm ERR! code 1
npm ERR! path /Users/x/Desktop/test/vue/vue-testcase-minder-editor/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: /usr/local/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^
npm ERR! gyp ERR! stack SyntaxError: invalid syntax
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (child_process.js:390:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28)
npm ERR! gyp ERR! stack at maybeClose (internal/child_process.js:1055:16)
npm ERR! gyp ERR! stack at Socket. (internal/child_process.js:441:11)
npm ERR! gyp ERR! stack at Socket.emit (events.js:400:28)
npm ERR! gyp ERR! stack at Pipe. (net.js:675:12)
npm ERR! gyp ERR! System Darwin 22.1.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/x/Desktop/test/vue/vue-testcase-minder-editor/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/x/Desktop/test/vue/vue-testcase-minder-editor/node_modules/node-sass
npm ERR! gyp ERR! node -v v14.17.6
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/x/.npm/_logs/2022-11-06T15_22_42_556Z-debug-0.log
`

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

1 participant