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

I think there is big problem when install ludwig, even I try many times with many python version #4040

Open
karamata opened this issue Nov 11, 2024 · 4 comments

Comments

@karamata
Copy link

Describe the bug
I get error when trying install ludwig from source. Even I try many python version still the same.

I also try install numpy first then re-try, but still same error

To Reproduce

  1. create new environment with python 3.11.10

  2. clone source

  3. pip install -e .

  4. See error

File "/tmp/pip-build-env-_l7j0ec5/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
          cmd_obj.ensure_finalized()
        File "/tmp/pip-build-env-_l7j0ec5/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
          self.finalize_options()
        File "<string>", line 25, in finalize_options
      AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'
      [end of output]
  • OS: Ubuntu 24.04
  • Python 3.11.10
  • Ludwig from source
@mhabedank
Copy link
Collaborator

Hi @karamata,
we are aware of this. There have been many breaking changes in many different dependencies over the last view month. We are on it ( #4041 ). It's hard to tell when we are done but we aim to make Ludwig compatible to Python 3.10, 3.11 and 3.12.
Currently it should run with 3.9. Have you tried it?

@karamata
Copy link
Author

Hi @karamata, we are aware of this. There have been many breaking changes in many different dependencies over the last view month. We are on it ( #4041 ). It's hard to tell when we are done but we aim to make Ludwig compatible to Python 3.10, 3.11 and 3.12. Currently it should run with 3.9. Have you tried it?

Also try from python 3.8 -> 3.11, the same error

@C-L-STARK
Copy link

Hi @karamata, we are aware of this. There have been many breaking changes in many different dependencies over the last view month. We are on it ( #4041 ). It's hard to tell when we are done but we aim to make Ludwig compatible to Python 3.10, 3.11 and 3.12. Currently it should run with 3.9. Have you tried it?

from python 3.9 3.10 3.11 3.12
tried for all same issues but not work for me.

when to update ?

@C-L-STARK
Copy link

@karamata do u fixed it now?

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

3 participants