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

Failing to build on Arch Linux #23

Open
caniko opened this issue Dec 6, 2023 · 1 comment
Open

Failing to build on Arch Linux #23

caniko opened this issue Dec 6, 2023 · 1 comment

Comments

@caniko
Copy link

caniko commented Dec 6, 2023

I have numpy installed, but I still get this error:

 ╭─can@pyramidal in repo: mask_to_mesh on  master [!?] is  v0.1.0 via  v3.10.13 (mask-to-mesh-py3.10) took 27s
[🔴] × poetry run pip install mistree
Collecting mistree
  Downloading mistree-1.2.2.tar.gz (29 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-dT1QsCdw-py3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-dT1QsCdw-py3.10/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/can/.cache/pypoetry/virtualenvs/mask-to-mesh-dT1QsCdw-py3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-k081b9ip/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-k081b9ip/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-k081b9ip/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 480, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-k081b9ip/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 4, in <module>
      ModuleNotFoundError: No module named 'numpy'

Not sure why, but the build is in a temporary environment, considering it is under /tmp.

@knaidoo29
Copy link
Owner

@caniko hi, this is odd. It looks like the issue is coming from subprocess rather than mistree. I'm not sure why that would happen.

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

2 participants