Installing uv version 0.7.12 command not found error

Hi,

I’m trying to deploy using uv, below are the project structure and logs from deploy

PROJECT STRUCUTRE:

.
├── README.md
├── __pycache__
│   └── main.cpython-312.pyc
├── main.py
├── pyproject.toml
└── uv.lock
└── .python-version

cat .python-version 
3.13

LOGS:

2025-09-04T06:42:28.312172504Z ==> Cloning from https://github.com/baietoo/ciapiciui
2025-09-04T06:42:29.013200616Z ==> Checking out commit b8b378318f415c475c1a0fc8bd80d28115cf4bef in branch main
2025-09-04T06:42:31.335742767Z info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
2025-09-04T06:42:31.463262446Z info: latest update on 2025-08-07, rust version 1.89.0 (29483883e 2025-08-04)
2025-09-04T06:42:31.463281038Z info: downloading component 'cargo'
2025-09-04T06:42:31.688025458Z info: downloading component 'clippy'
2025-09-04T06:42:31.772978924Z info: downloading component 'rust-docs'
2025-09-04T06:42:31.979676229Z info: downloading component 'rust-std'
2025-09-04T06:42:32.230549428Z info: downloading component 'rustc'
2025-09-04T06:42:32.940724056Z info: downloading component 'rustfmt'
2025-09-04T06:42:33.023505306Z info: installing component 'cargo'
2025-09-04T06:42:33.702990979Z info: installing component 'clippy'
2025-09-04T06:42:34.102458177Z info: installing component 'rust-docs'
2025-09-04T06:42:36.673863931Z info: installing component 'rust-std'
2025-09-04T06:42:38.614747448Z info: installing component 'rustc'
2025-09-04T06:42:43.786902343Z info: installing component 'rustfmt'
2025-09-04T06:42:44.971110795Z 
2025-09-04T06:42:44.971117646Z info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
2025-09-04T06:42:44.98468682Z   stable-x86_64-unknown-linux-gnu installed - rustc 1.89.0 (29483883e 2025-08-04)
2025-09-04T06:42:44.984709272Z 
2025-09-04T06:42:45.114275021Z ==> Running build command 'uv build'...
2025-09-04T06:42:45.320698965Z /home/render/python-env.sh: line 75: python: command not found
2025-09-04T06:42:47.063189362Z ==> Installing Python version 3.13.7...
2025-09-04T06:42:58.136214638Z ==> Using Python version 3.13.7 via /opt/render/project/src/.python-version
2025-09-04T06:42:58.161670822Z ==> Docs on specifying a Python version: https://render.com/docs/python-version
2025-09-04T06:43:00.743650934Z ==> Using Poetry version 2.1.3 (default)
2025-09-04T06:43:00.789499566Z ==> Docs on specifying a Poetry version: https://render.com/docs/poetry-version
2025-09-04T06:43:00.797686736Z ==> Installing Poetry version 2.1.3
2025-09-04T06:43:25.539724934Z Retrieving Poetry metadata
2025-09-04T06:43:25.539751245Z 
2025-09-04T06:43:25.539757036Z # Welcome to Poetry!
2025-09-04T06:43:25.539760616Z 
2025-09-04T06:43:25.539764876Z This will download and install the latest version of Poetry,
2025-09-04T06:43:25.539768966Z a dependency and package manager for Python.
2025-09-04T06:43:25.539772376Z 
2025-09-04T06:43:25.539777067Z It will add the `poetry` command to Poetry's bin directory, located at:
2025-09-04T06:43:25.539780547Z 
2025-09-04T06:43:25.539784017Z /opt/render/project/poetry/bin
2025-09-04T06:43:25.539787357Z 
2025-09-04T06:43:25.539791928Z You can uninstall at any time by executing this script with the --uninstall option,
2025-09-04T06:43:25.539795448Z and these changes will be reverted.
2025-09-04T06:43:25.539798788Z 
2025-09-04T06:43:25.539802518Z Installing Poetry (2.1.3)
2025-09-04T06:43:25.539819459Z Installing Poetry (2.1.3): Creating environment
2025-09-04T06:43:25.53982186Z Installing Poetry (2.1.3): Installing Poetry
2025-09-04T06:43:25.53982408Z Installing Poetry (2.1.3): Creating script
2025-09-04T06:43:25.53982614Z Installing Poetry (2.1.3): Done
2025-09-04T06:43:25.53982809Z 
2025-09-04T06:43:25.53983045Z Poetry (2.1.3) is installed now. Great!
2025-09-04T06:43:25.5398324Z 
2025-09-04T06:43:25.53983476Z To get started you need Poetry's bin directory (/opt/render/project/poetry/bin) in your `PATH`
2025-09-04T06:43:25.539838991Z environment variable.
2025-09-04T06:43:25.539841501Z 
2025-09-04T06:43:25.539844071Z Add `export PATH="/opt/render/project/poetry/bin:$PATH"` to your shell configuration file.
2025-09-04T06:43:25.539846041Z 
2025-09-04T06:43:25.539848091Z Alternatively, you can call Poetry explicitly with `/opt/render/project/poetry/bin/poetry`.
2025-09-04T06:43:25.539850031Z 
2025-09-04T06:43:25.539852181Z You can test that everything is set up by executing:
2025-09-04T06:43:25.539854172Z 
2025-09-04T06:43:25.539856232Z `poetry --version`
2025-09-04T06:43:25.539858252Z 
2025-09-04T06:43:25.570244559Z ==> Using uv version 0.7.12 (default)
2025-09-04T06:43:25.570249009Z ==> Docs on specifying a uv version: https://render.com/docs/uv-version
2025-09-04T06:43:25.570925971Z ==> Installing uv version 0.7.12...
2025-09-04T06:43:25.949582682Z /home/render/envwrappers/uv: line 100: uv: command not found
2025-09-04T06:43:25.957748509Z ==> Build failed 😞
2025-09-04T06:43:25.95776564Z ==> Common ways to troubleshoot your deploy: https://render.com/docs/troubleshooting-deploys

thank you in advance!

tried again today, same issue, anyone else experiencing this?

setting the environment variable for the UV_VERSION is REALLY IMPORTANT. it works now!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.