Skip to content

Cannot install lightfm #20

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

Open
tomaz-suller opened this issue Oct 3, 2024 · 0 comments
Open

Cannot install lightfm #20

tomaz-suller opened this issue Oct 3, 2024 · 0 comments

Comments

@tomaz-suller
Copy link

tomaz-suller commented Oct 3, 2024

Due to lyst/lightfm#687

❯ uv pip install lightfm
Resolved 11 packages in 231ms
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: lightfm==1.17
  Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
  File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
    self.run_setup()
  File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 503, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/home/tomaz/.cache/uv/builds-v0/.tmpYngnoq/lib/python3.8/site-packages/setuptools/build_meta.py", line 318, in run_setup
    exec(code, locals())
  File "<string>", line 11, in <module>
AttributeError: 'dict' object has no attribute '__LIGHTFM_SETUP__'
---

the above error is thrown when trying to install the latest version, 1.17.

Trying to fix to 1.16, as in environment.yml and requirements.txt, produces the same error:

❯ uv pip install lightfm==1.16
Resolved 11 packages in 7ms
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: lightfm==1.16
  Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
  File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
    self.run_setup()
  File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 503, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/home/tomaz/.cache/uv/builds-v0/.tmpWSuYF4/lib/python3.8/site-packages/setuptools/build_meta.py", line 318, in run_setup
    exec(code, locals())
  File "<string>", line 11, in <module>
AttributeError: 'dict' object has no attribute '__LIGHTFM_SETUP__'
---
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

1 participant