![]() ![]() Python executable, it will be used instead of any of the other configured orīuilt-in Python search paths. If the NODE_GYP_FORCE_PYTHON environment variable is set to the path of a ![]() Then that version will be used if it is a supported version. If the PYTHON environment variable is set to the path of a Python executable, ![]() Py -list-paths # To see the installed Python versions set npm_config_python=C:\path\to\python.exe by setting the -python command-line option, e.g.:.Node-gyp should use in one of the following ways: If you have multiple versions of Python installed, you can identify which version Node-gyp requires that you have installed a supported version of Python. To use the native ARM64 C++ compiler on Windows on ARM, ensure that you have Visual Studio 2022 17.4 or later installed. To target native ARM64 Node.js on Windows on ARM, add the components "Visual C++ compilers and libraries for ARM64" and "Visual C++ ATL for ARM64". If the above steps didn't work for you, please visit Microsoft's Node.js Guidelines for Windows for additional tips. (using the "Desktop development with C++" workload) (using "Visual C++ build tools" if using a version older than VS2019, otherwise use "Desktop development with C++" workload) or Visual Studio Community Install Visual C++ Build Environment: Visual Studio Build Tools.Install tools and configuration manually: Install the current version of Python from the Alternatively, if you already have the full Xcode installed, you can install the Command Line Tools under the menu Xcode -> Open Developer Tool -> More Developer Tools.Install the Xcode Command Line Tools standalone by running xcode-select -install.Xcode Command Line Tools which will install clang, clang++, and make.A proper C/C++ compiler toolchain, like GCC.Depending on your operating system, you will need to install: On Unix ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |