Hello!
During installation, an error is given about the version of Frappe and PIP. But our Frappe version is 15.48.0, which is higher than the one indicated. And the PIP version is also updated.
Error and versions below.
bench get-app git@dinord.gitlab.yandexcloud.net:erpnext/system/ampower_visualize.git
A directory for the application 'ampower_visualize' already exists. Do you want to continue and overwrite it? [y/N]: n
Do you want to reinstall the existing application? [y/N]: y
Ignoring dependencies of git@dinord.gitlab.yandexcloud.net:erpnext/system/ampower_visualize.git. To install dependencies use --resolve-deps
Installing ampower_visualize
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
ERROR: Could not find a version that satisfies the requirement frappe~=15.33.0 (from ampower-visualize) (from versions: 0.0.1)
[notice] A new release of pip is available: 24.2 -> 25.0
[notice] To update, run: python -m pip install --upgrade pip
ERROR: No matching distribution found for frappe~=15.33.0
ERROR: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize ' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 132, in cli
bench_command()
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in get_app
get_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 777, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 254, in install
install_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 909, in install_app
bench.run(
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/init.py", line 178, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
frappe@erpnext-dev:~/frappe-bench$ bench version
alerts 1.0.8
builder 1.x.x-develop
dinord_crm_expansions 0.0.1
dinord_erpnext_customization 3.5.0
dinord_timesheet 0.0.1
doctype_permission 0.0.1
erpnext 15.44.0
erpnext_telegram_integration 1.3.0
frappe 15.48.0
frappe_better_attach_control 2.0.0
frappe_better_list_view 1.4.0
frappe_better_select_control 1.2.1
frappe_telegram 0.0.1
hrms 16.0.0-dev
insights 2.2.2
lms 2.4.0
payments 0.0.1
persona 0.0.1
print_designer 1.0.0-dev
quick_kanban 0.0.1
wiki 2.0.0
frappe@erpnext-dev:~/frappe-bench$ sudo pip3 --version
pip 25.0.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Hello!
During installation, an error is given about the version of Frappe and PIP. But our Frappe version is 15.48.0, which is higher than the one indicated. And the PIP version is also updated.
Error and versions below.
bench get-app git@dinord.gitlab.yandexcloud.net:erpnext/system/ampower_visualize.git
A directory for the application 'ampower_visualize' already exists. Do you want to continue and overwrite it? [y/N]: n
Do you want to reinstall the existing application? [y/N]: y
Ignoring dependencies of git@dinord.gitlab.yandexcloud.net:erpnext/system/ampower_visualize.git. To install dependencies use --resolve-deps
Installing ampower_visualize
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
ERROR: Could not find a version that satisfies the requirement frappe~=15.33.0 (from ampower-visualize) (from versions: 0.0.1)
[notice] A new release of pip is available: 24.2 -> 25.0
[notice] To update, run: python -m pip install --upgrade pip
ERROR: No matching distribution found for frappe~=15.33.0
ERROR: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize ' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 132, in cli
bench_command()
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in get_app
get_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 777, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 254, in install
install_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 909, in install_app
bench.run(
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/init.py", line 178, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/ampower_visualize
frappe@erpnext-dev:~/frappe-bench$ bench version
alerts 1.0.8
builder 1.x.x-develop
dinord_crm_expansions 0.0.1
dinord_erpnext_customization 3.5.0
dinord_timesheet 0.0.1
doctype_permission 0.0.1
erpnext 15.44.0
erpnext_telegram_integration 1.3.0
frappe 15.48.0
frappe_better_attach_control 2.0.0
frappe_better_list_view 1.4.0
frappe_better_select_control 1.2.1
frappe_telegram 0.0.1
hrms 16.0.0-dev
insights 2.2.2
lms 2.4.0
payments 0.0.1
persona 0.0.1
print_designer 1.0.0-dev
quick_kanban 0.0.1
wiki 2.0.0
frappe@erpnext-dev:~/frappe-bench$ sudo pip3 --version
pip 25.0.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)