Following the guide at GitHub and Frappe DOcumentation.
I ran following commands
sudo apt insall pip
# enabled pip internally vim ~/.config/pip/pip.conf
pip install uv bench
export PATH=$PATH:~/.local/bin
uv tool install frappe-bench
mkdir ~/frappe
cd frappe
TIll here it was fine and the problem was in while running this
bench init frappe-bench
Setting Up Environment
$ uv venv env --seed --python python3
Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment with seed packages at: env
+ pip==26.0.1
Activate with: source env/bin/activate
Getting frappe
$ git clone https://github.com/frappe/frappe.git --depth 1 --origin upstream
Cloning into 'frappe'...
remote: Enumerating objects: 3484, done.
remote: Counting objects: 100% (3484/3484), done.
remote: Compressing objects: 100% (3076/3076), done.
remote: Total 3484 (delta 488), reused 2011 (delta 308), pack-reused 0 (from 0)
Receiving objects: 100% (3484/3484), 17.53 MiB | 15.11 MiB/s, done.
Resolving deltas: 100% (488/488), done.
Installing frappe
$ uv pip install --quiet --upgrade -e /home/ubuntu/frappe/frappe-bench/apps/frappe --python /home/ubuntu/frappe/frappe-bench/env/bin/python
× No solution found when resolving dependencies:
╰─▶ Because the current Python version (3.12.3) does not satisfy
Python>=3.14,<3.15 and frappe==17.0.0.dev0 depends on Python>=3.14,<3.15, we
can conclude that frappe==17.0.0.dev0 cannot be used.
And because only frappe==17.0.0.dev0 is available and you require frappe, we
can conclude that your requirements are unsatisfiable.
Error occured during app install: uv pip install --quiet --upgrade -e /home/ubuntu/frappe/frappe-bench/apps/frappe --python /home/ubuntu/frappe/frappe-bench/env/bin/python