• 18-07-2024, 14:51:43
    #1
    selamlar, bilgim yok sadece daha önce yaptığım ufak bir işlemi tekrarlamak istedim ama node, python kurulu olduğu halde aşağıdaki hataları veriyor visual studio. Bunu nasıl çözebilirim ?

    python ve node.js sürüm düşürüldü, sorun çözüldü,


    PS C:\Users\Humo\Desktop\hashlips_art> npm install node.js
    npm warn old lockfile
    npm warn old lockfile The package-lock.json file was created with an old version of npm,
    npm warn old lockfile so supplemental metadata must be fetched from the registry.
    npm warn old lockfile
    npm warn old lockfile This is a one-time fix-up, please be patient...
    npm warn old lockfile
    npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
    npm warn deprecated npmlog@5.0.1: This package is no longer supported.
    npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
    npm warn deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported
    npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
    npm warn deprecated gauge@3.0.1: This package is no longer supported.
    npm error code 1
    npm error path C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas
    npm error command failed
    npm error command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
    npm error Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm error node-pre-gyp info it worked if it ends with ok
    npm error node-pre-gyp info using node-pre-gyp@1.0.6
    npm error node-pre-gyp info using node@20.15.1 | win32 | x64
    npm error node-pre-gyp info check checked for "C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas\build\Release\canvas.node" (not found)
    npm error node-pre-gyp http GET [url]https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v115-win32-unknown-x64.tar.gz[/url]
    npm error node-pre-gyp ERR! install response status 404 Not Found on [url]https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v115-win32-unknown-x64.tar.gz[/url]
    npm error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@20.15.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
    npm error node-pre-gyp WARN Hit error response status 404 Not Found on [url]https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v115-win32-unknown-x64.tar.gz[/url]
    npm error gyp info it worked if it ends with ok
    npm error gyp info using node-gyp@10.1.0
    npm error gyp info using node@20.15.1 | win32 | x64
    npm error gyp info ok
    npm error gyp info it worked if it ends with ok
    npm error gyp info using node-gyp@10.1.0
    npm error gyp info using node@20.15.1 | win32 | x64
    npm error gyp ERR! find Python
    npm error gyp ERR! find Python Python is not set from command line or npm configuration
    npm error gyp ERR! find Python Python is not set from environment variable PYTHON
    npm error gyp ERR! find Python checking if the py launcher can be used to find Python 3
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if "python3" can be used
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if "python" can be used
    npm error gyp ERR! find Python - executable path is ""
    npm error gyp ERR! find Python - "" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python311\python.exe    
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python311\python.exe" could not be run    
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python311\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python311\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python311-32\python.exe" could not be run  
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python311-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python311-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python311-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python310\python.exe    
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python310\python.exe" could not be run    
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python310\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python310\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python310-32\python.exe" could not be run  
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python310-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python310-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python310-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python39\python.exe    
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python39\python.exe" could not be run      
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python39-32\python.exe  
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run  
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python38\python.exe    
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python38\python.exe" could not be run      
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Users\Humo\AppData\Local\Programs\Python\Python38-32\python.exe  
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Users\Humo\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run  
    npm error gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
    npm error gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
    npm error gyp ERR! find Python - version is ""
    npm error gyp ERR! find Python - version is  - should be >=3.6.0
    npm error gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm error gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
    npm error gyp ERR! find Python
    npm error gyp ERR! find Python **********************************************************
    npm error gyp ERR! find Python You need to install the latest version of Python.
    npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm error gyp ERR! find Python you can try one of the following options:
    npm error gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
    npm error gyp ERR! find Python (accepted by both node-gyp and npm)
    npm error gyp ERR! find Python - Set the environment variable PYTHON
    npm error gyp ERR! find Python - Set the npm configuration variable python:
    npm error gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
    npm error gyp ERR! find Python For more information consult the documentation at:
    npm error gyp ERR! find Python [url]https://github.com/nodejs/node-gyp#installation[/url]
    npm error gyp ERR! find Python **********************************************************
    npm error gyp ERR! find Python
    npm error gyp ERR! configure error
    npm error gyp ERR! stack Error: Could not find any Python installation to use
    npm error gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:306:11)
    npm error gyp ERR! stack at PythonFinder.findPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:164:17)
    npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    npm error gyp ERR! stack at async configure (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:27:18)
    npm error gyp ERR! stack at async run (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
    npm error gyp ERR! System Windows_NT 10.0.22631
    npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Humo\\Desktop\\hashlips_art\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\Humo\\Desktop\\hashlips_art\\node_modules\\canvas\\build\\Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
    npm error gyp ERR! cwd C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas
    npm error gyp ERR! node -v v20.15.1
    npm error gyp ERR! node-gyp -v v10.1.0
    npm error gyp ERR! not ok
    npm error node-pre-gyp ERR! build error
    npm error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
    npm error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\Humo\Desktop\hashlips_art\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
    npm error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
    npm error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
    npm error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    npm error node-pre-gyp ERR! System Windows_NT 10.0.22631
    npm error node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Humo\\Desktop\\hashlips_art\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    npm error node-pre-gyp ERR! cwd C:\Users\Humo\Desktop\hashlips_art\node_modules\canvas
    npm error node-pre-gyp ERR! node -v v20.15.1
    npm error node-pre-gyp ERR! node-pre-gyp -v v1.0.6
    npm error node-pre-gyp ERR! not ok
    
    npm error A complete log of this run can be found in: C:\Users\Humo\AppData\Local\npm-cache\_logs\2024-07-18T11_50_04_204Z-debug-0.log
    PS C:\Users\Humo\Desktop\hashlips_art>
  • 18-07-2024, 14:53:10
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    pythonda hata vermiş bir kontrol et python kurulu mu değil mi diye
  • 18-07-2024, 14:53:56
    #3
    d1sp0s3 adlı üyeden alıntı: mesajı görüntüle
    pythonda hata vermiş bir kontrol et python kurulu mu değil mi diye
    hocam az önce kurdum en son sürümü sildim tekrar kurdum yine aynı