Getting error while using python worker hello world repo
Hello world, i am trying to use python in workers but after cloning official https://github.com/cloudflare/python-worker-hello-world and installing all prerequisite, also using 3.12 python version, i am getting this error : (env) C:\Users\mysel\OneDrive\Desktop\test\python-worker-hello-world>wrangler build ▲ [WARNING] Deprecation:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. Error compiling C:\Users\mysel\OneDrive\Desktop\test\python-worker-hello-world\index.py: assets by status 612 bytes [cached] 1 asset ./index.py 39 bytes [built] [code generated] [1 error]
ERROR in ./index.py Module build failed (from ./node_modules/transcrypt-loader/target_es5/index.js): Error: Command failed: python3 -m transcrypt --nomin --map --verbose "index" Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
at checkExecSyncError (node:child_process:890:11) at Object.execSync (node:child_process:962:15) at Object.main (C:\Users\mysel\OneDrive\Desktop\test\python-worker-hello-world\node_modules\transcrypt-loader__target_es5__\index.js:56:67)
webpack 5.76.0 compiled with 1 error in 557 ms
X [ERROR] Command failed with exit code 1: npm run build