-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
I am getting this error every time I initiate firebase functions with python
python --version: Python 3.13.3
OS: window 11
pip --version: pip 25.1.1 from C:\Python313\Lib\site-packages\pip (python 3.13)
firebase-debug.log shows
[info] Functions can be deployed with firebase deploy.
[info] + Wrote functions/requirements.txt
[info] + Wrote functions/.gitignore
[info] + Wrote functions/main.py
[debug] [2025-05-12T11:12:15.017Z] Running command with virtualenv: command="C:\Users\lenovo\Downloads\python-cloud-functions\functions\venv\Scripts\activate.bat", args=["","&&","pip3","install","--upgrade","pip"]
[debug] [2025-05-12T11:12:22.496Z] Error: spawn "C:\Users\lenovo\Downloads\python-cloud-functions\functions\venv\Scripts\activate.bat" ENOENT
at notFoundError (C:\Users\lenovo\AppData\Roaming\nvm\v22.14.0\node_modules\firebase-tools\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (C:\Users\lenovo\AppData\Roaming\nvm\v22.14.0\node_modules\firebase-tools\node_modules\cross-spawn\lib\enoent.js:40:16)
at cp.emit (C:\Users\lenovo\AppData\Roaming\nvm\v22.14.0\node_modules\firebase-tools\node_modules\cross-spawn\lib\enoent.js:27:25)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
at Process.callbackTrampoline (node:internal/async_hooks:130:17)
[error]
[error] Error: An unexpected error has occurred.
Reactions are currently unavailable
