Solve gyp verb ensuring that file exists: C:\Python27\python.exe gyp ERR! configure error gyp ERR! sta

Table of Contents Solve “gyp verb ensuring that file exists: C:\Python27\python.exe gyp ERR! configure error gyp ERR! sta” error Problem background solution 1. Make sure the Python executable file exists 2. Add Python to environment variables 3. Reinstall the Node.js module 4. Upgrade or downgrade Node.js in conclusion Sample code What is gyp? Features of […]

gyp ERR when initializing the uniapp project

After reinstalling the computer, node 18.16.1-x64 was installed, and I encountered no problems when writing back-end code. When the uniapp project is initialized, gyp ERR is reported. The specific error is as follows: npm ERR! code 1 npm ERR! path D:\postman\hksvn\project\uniapp*\ ode_modules\ ode-sass npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node […]

[Resolved] Node-gyp installation error

Safe reading Encountered a problem node-gyp installation error, prompting to install vs, and enable Desktop development with C++, but always prompts that the vs version is wrong The final solution is as follows: # 0 Analysis problem: The current npm version is v14.16.0, which is suitable for python v2.7 and VS2017. It cannot be too […]

Solve gyp verb `which` failed python2 Error: not found: python2

When running the old project, the following error is reported PS C:\Users\demo02> yarn install yarn install v1.22.19 info No lockfile found. [1/5] Validating package.json… [2/5] Resolving packages… warning [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 warning element-ui > async-validator > babel-runtime > [email protected]: core-js@<3.23.3 is no longer maintained and not […]

[1000 Graphviz Tips-002] Automatic generation method of c language function call diagram using egypt and gcc’s –fdump-rtl-expand to generate Graphviz

Background C language function call relationship diagram can be generated through the relationship of IDE such as sourceinsight or understand. But the convenience of modification is not high. graphviz provides the function of drawing graphs Principle RTL (register transfer language) of C language provides a relational expression before assembly By adding –fdump-rtl-expand to the compilation […]

Vue project npm install error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8

Description of problem: Sorted out almost all the solutions on the Internet, the most complete in the whole network, solved with tears The front-end Vue project ran fine before. After deleting node_modules, I re-npm install and report an error. The error is as follows: gyp ERR! find VS gyp ERR! find VS msvs_version not set […]

gyp ERR! stack Error: Could not find any Python installation to use and gyp ERR! find Python

gyp ERR! stack Error: Could not find any Python installation to use and gyp ERR! find Python error D:\Project Code\pod-portal\public\ ode_modules\ ode-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: D:\project code\pod-portal\public\ ode_modules\ ode-sass Output: Building: D:\softWare\ ode\ ode.exe D:\project code\pod-portal\public\ ode_modules\ ode-gyp\bin\ ode-gyp.js rebuild –verbose –libsass_ext= –libsass_cflags= – -libsass_ldflags= –libsass_library= gyp info […]

egyptian fraction (dfs)

Egyptian score Description of topic Source: BIO 1997 Round 1 Question 3 In ancient Egypt, people used sums of unit fractions (of the form 1 a \dfrac{1}{a} a1?, a a a is a natural number) represents all rational numbers. like: 2 3 = 1 2 + 1 6 \dfrac{2}{3} = \dfrac{1}{2} + \dfrac{1}{6} 32?=21? + […]

gyp verb `which` failed python2 Error: not found: python | python2

question: The old vue front-end code fails to deploy in the new environment, execute the command: npm install Abnormal: npm ERR! code 1 npm ERR! path D:\absvue\abs_investor_web\\ ode_modules\\ ode-sass npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js npm ERR! Building: C:\Program Files\\ odejs\\ ode.exe D:\absvue\abs_investor_web\\ ode_modules\\ ode-gyp\bin\\ ode-gyp.js rebuild –verbose […]

gyp ERR! stack Error: Can’t find Python executable “python“, you can set the PYTHON env variable.

When running npm install, the following error is prompted: Building: D:\Program_Files\\ odejs\\ ode.exe D:\workspace\market\src\main\resources\admin\admin\\ ode_modules\\ ode-gyp\ \bin\\ ode-gyp.js rebuild –verbose –libsass_ext= –libsass_cflags= –libsass_ldflags= –libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli ‘D:\Program_Files\\ odejs\\ ode.exe’, gyp verb cli ‘D:\workspace\market\src\main\resources\admin\admin\\ ode_modules\\ \ ode-gyp\bin\\ ode-gyp.js’, gyp verb cli ‘rebuild’, […]