Akhilesh Singh
05/27/2025, 2:32 PMWhat went wrong:
Execution failed for task ':app:setup'.
> Command failed: bash -c source /Users/akhileshsingh/AndroidStudioProjects/android-truecaller/android-revelio/.pyenv/bin/activate && pip3 install -r scripts/perfetto/requirements.txt
Process 'command 'bash'' finished with non-zero exit value 1
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "/Users/akhileshsingh/AndroidStudioProjects/android-truecaller/android-revelio/.pyenv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/Users/akhileshsingh/AndroidStudioProjects/android-truecaller/android-revelio/.pyenv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/akhileshsingh/AndroidStudioProjects/android-truecaller/android-revelio/.pyenv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/yh/mgnb466d79l9s3h02r8xl_200000gp/T/pip-build-env-v6qxs0vu/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/yh/mgnb466d79l9s3h02r8xl_200000gp/T/pip-build-env-v6qxs0vu/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/private/var/folders/yh/mgnb466d79l9s3h02r8xl_200000gp/T/pip-build-env-v6qxs0vu/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 30, in <module>
File "<string>", line 27, in get_version
KeyError: '__version__'
[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 wheel 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.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
Vampire
05/27/2025, 3:22 PM:app:setup
that calls some external bash
command that somewhere in some Python file uses something named __version__
with which some problem seems to exist, but that has nothing to do with Gradle, so you might ask in a more appropriate community. 🙂