Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while installing #353

Open
santagarwal opened this issue Dec 1, 2024 · 2 comments
Open

Getting error while installing #353

santagarwal opened this issue Dec 1, 2024 · 2 comments

Comments

@santagarwal
Copy link

Getting gameplan
$ git clone https://github.com/frappe/gameplan.git --depth 1 --origin upstream
Cloning into 'gameplan'...
remote: Enumerating objects: 394, done.
remote: Counting objects: 100% (394/394), done.
remote: Compressing objects: 100% (306/306), done.
remote: Total 394 (delta 87), reused 212 (delta 78), pack-reused 0 (from 0)
Receiving objects: 100% (394/394), 2.09 MiB | 23.24 MiB/s, done.
Resolving deltas: 100% (87/87), done.
Ignoring dependencies of gameplan. To install dependencies use --resolve-deps
Installing gameplan
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/gameplan
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21
.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that satisfies the requirement onnxruntime==1.16.2 (from gameplan) (from versions: 1.17.0, 1.17.1, 1.17.3, 1.18.0, 1.18.1, 1.19.0, 1.19.2, 1.20.0, 1.20.1)
ERROR: No matching distribution found for onnxruntime==1.16.2
ERROR: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/gameplan
subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/gameplan ' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/frappe/frappe-bench/env/bin/bench", line 8, in
sys.exit(cli())
^^^^^
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/cli.py", line 132, in cli
bench_command()
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/commands/make.py", line 181, in get_app
get_app(
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/app.py", line 778, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/app.py", line 253, in install
install_app(
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/app.py", line 912, in install_app
bench.run(
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/env/lib/python3.12/site-packages/bench/utils/init.py", line 181, 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/gameplan

@ezenkico
Copy link

ezenkico commented Dec 6, 2024

Yeah I got the same issue.
Is there any way this can be upgraded to use the latest version of python?

@akshay0411
Copy link

Yeah I got the same issue.
Is there any solution? I'm using Python 3.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants