POS-Awesome icon indicating copy to clipboard operation
POS-Awesome copied to clipboard

[BUG]: installation error v13

Open AlaaBadry opened this issue 1 year ago • 2 comments

  • Erpnext:
  • POS Awesome:

Stacktrace / full error message

(paste here)

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is Expected?

What is actually happening?

Installing posawesome $ /home/erpnext/bowandark/env/bin/python -m pip install --quiet --upgrade -e /home/erpnext/bowandark/apps/posawesome error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [21 lines of output] Traceback (most recent call last): File "/home/erpnext/bowandark/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/erpnext/bowandark/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/erpnext/bowandark/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable return hook(config_settings) File "/tmp/pip-build-env-pncasg7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 450, in get_requires_for_build_editable return self.get_requires_for_build_wheel(config_settings) File "/tmp/pip-build-env-pncasg7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-pncasg7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-pncasg7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/tmp/pip-build-env-pncasg7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 8, in File "/home/erpnext/bowandark/apps/posawesome/posawesome/init.py", line 3, in import frappe ModuleNotFoundError: No module named 'frappe' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Traceback (most recent call last): File "/usr/local/bin/bench", line 8, in sys.exit(cli()) File "/home/erpnext/.local/lib/python3.10/site-packages/bench/cli.py", line 127, in cli bench_command() File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in call return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/erpnext/.local/lib/python3.10/site-packages/bench/commands/make.py", line 159, in get_app get_app( File "/home/erpnext/.local/lib/python3.10/site-packages/bench/app.py", line 444, in get_app app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench) File "/home/erpnext/.local/lib/python3.10/site-packages/bench/utils/render.py", line 126, in wrapper_fn return fn(*args, **kwargs) File "/home/erpnext/.local/lib/python3.10/site-packages/bench/app.py", line 242, in install install_app( File "/home/erpnext/.local/lib/python3.10/site-packages/bench/app.py", line 573, in install_app bench.run( File "/home/erpnext/.local/lib/python3.10/site-packages/bench/bench.py", line 48, in run return exec_cmd(cmd, cwd=cwd or self.cwd) File "/home/erpnext/.local/lib/python3.10/site-packages/bench/utils/init.py", line 158, in exec_cmd raise CommandFailedError bench.exceptions.CommandFailedError INFO: A newer version of bench is available: 5.15.1 → 5.16.3

Additional context

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem.

AlaaBadry avatar Jun 15 '23 17:06 AlaaBadry