=> ERROR [tunnel builder 4/4] RUN python3 -m pip install --no-warn-script-location --no-cache-dir --user .
Closed this issue · 1 comments
Hello, I have a little issue with the docker installation method. Everytime I try to do docker compose up -d
it finished with a sub process error. I'm not sure what to do next. Can anyone please help me with troubleshooting this? usbmuxd is running.
[tunnel builder 4/4] RUN python3 -m pip install --no-warn-script-location --no-cache-dir --user .:
1.379 Processing /app
1.382 Installing build dependencies: started
4.492 Installing build dependencies: finished with status 'done'
4.493 Getting requirements to build wheel: started
4.931 Getting requirements to build wheel: finished with status 'error'
4.938 error: subprocess-exited-with-error
4.938
4.938 × Getting requirements to build wheel did not run successfully.
4.938 │ exit code: 1
4.938 ╰─> [40 lines of output]
4.938 Traceback (most recent call last):
4.938 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
4.938 main()
4.938 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
4.938 json_out['return_val'] = hook(**hook_input['kwargs'])
4.938 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.938 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
4.938 return hook(config_settings)
4.938 ^^^^^^^^^^^^^^^^^^^^^
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
4.938 return self._get_build_requires(config_settings, requirements=[])
4.938 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
4.938 self.run_setup()
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
4.938 exec(code, locals())
4.938 File "", line 1, in
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/init.py", line 108, in setup
4.938 return distutils.core.setup(**attrs)
4.938 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup
4.938 _setup_distribution = dist = klass(attrs)
4.938 ^^^^^^^^^^^^
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 278, in init
4.938 _Distribution.init(self, dist_attrs)
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 286, in init
4.938 self.finalize_options()
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 630, in finalize_options
4.938 ep(self)
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 123, in infer_version
4.938 _assign_version(dist, config)
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 58, in _assign_version
4.938 _version_missing(config)
4.938 File "/tmp/pip-build-env-2hr0uo71/overlay/lib/python3.12/site-packages/setuptools_scm/_get_version_impl.py", line 117, in _version_missing
4.938 raise LookupError(
4.938 LookupError: setuptools-scm was unable to detect version for /app.
4.938
4.938 Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
4.938
4.938 For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
4.938 [end of output]
4.938
4.938 note: This error originates from a subprocess, and is likely not a problem with pip.
4.939 error: subprocess-exited-with-error
4.939
4.939 × Getting requirements to build wheel did not run successfully.
4.939 │ exit code: 1
4.939 ╰─> See above for output.
4.939
4.939 note: This error originates from a subprocess, and is likely not a problem with pip.
5.063
5.063 [notice] A new release of pip is available: 24.0 -> 24.2
5.063 [notice] To update, run: pip install --upgrade pip
failed to solve: process "/bin/sh -c python3 -m pip install --no-warn-script-location --no-cache-dir --user ." did not complete successfully: exit code: 1
Oops I'm stupid, solved it easily buy just using
git clone https://github.com/nythepegasus/SideJITServer.git
instead of downloading the repo as a zip and then unzipping it.