-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Python path cannot handle Unicode characters like ü #2829
Comments
"271 error gyp verb find Python - "C:\Users\Jozef Steinh bl\AppData\Local\Programs\Python\Python311\python.exe" could not be run" is missing ü |
Please type in this command and then try to install again (without If that does not work then try the same with: |
doesnt work |
Why don’t we use |
The Python executable path may have non-ASCII characters, which can make the print function fail if the environment encoding is different. This fixes this issue by using stdout.buffer, which can be used with UTF-8 encoding for the output, regardless of the environment encoding. Fixes: nodejs#2829
* lib: print Python executable path using UTF-8 The Python executable path may have non-ASCII characters, which can make the print function fail if the environment encoding is different. This fixes this issue by using stdout.buffer, which can be used with UTF-8 encoding for the output, regardless of the environment encoding. Fixes: #2829 * fixup! lib: print Python executable path using UTF-8
* lib: print Python executable path using UTF-8 The Python executable path may have non-ASCII characters, which can make the print function fail if the environment encoding is different. This fixes this issue by using stdout.buffer, which can be used with UTF-8 encoding for the output, regardless of the environment encoding. Fixes: #2829 * fixup! lib: print Python executable path using UTF-8
Please look thru your error log for the string
gyp info using node-gyp@
and if the version number is less than the current release of node-gyp then please upgrade using the instructions at https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md and try your command again.Requests for help with
node-sass
are very common. Please be aware that this package is deprecated, you should seek alternatives and avoid opening new issues about it here.Verbose output (from npm or node-gyp):
npm i better-sqlite3 --python="C:\Users\Jozef Steinhübl\AppData\Local\Programs\Python\Python311\python.exe" --verbose
The text was updated successfully, but these errors were encountered: