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

Remove tables requirement as it causes issues installing ludwig in linux env. #3473

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

justinxzhao
Copy link
Collaborator

@justinxzhao justinxzhao commented Jul 21, 2023

tables, afaict, isn't used anywhere directly in ludwig code.

python3 -m venv env
source env/bin/activate
pip install ludwig

Installation errors out:

...

Collecting tables
  Using cached tables-3.8.0.tar.gz (8.0 MB)
  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
  ╰─> [11 lines of output]
      <string>:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      ld: library not found for -lhdf5
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      cpuinfo failed, assuming no CPU features: 'flags'
      * Using Python 3.11.3 (main, Apr  7 2023, 21:05:46) [Clang 14.0.0 (clang-1400.0.29.202)]
      * Found cython 3.0.0
      * USE_PKGCONFIG: True
      .. ERROR:: Could not find a local HDF5 installation.
         You may need to explicitly state where your local HDF5 headers and
         library can be found by setting the ``HDF5_DIR`` environment
         variable or by using the ``--hdf5`` command-line option.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

@github-actions
Copy link

github-actions bot commented Jul 21, 2023

Unit Test Results

       5 files  ±0         5 suites  ±0   1h 13m 45s ⏱️ + 3m 33s
2 771 tests +2  2 753 ✔️ +3  12 💤 ±0  6 ±0 
2 806 runs  +1  2 782 ✔️ +2  18 💤 ±0  6 ±0 

For more details on these failures, see this check.

Results for commit ae07f2f. ± Comparison against base commit 354627a.

♻️ This comment has been updated with latest results.

@justinxzhao justinxzhao merged commit 6d417ef into master Jul 24, 2023
13 of 16 checks passed
@justinxzhao justinxzhao deleted the requirements_cleanip branch July 24, 2023 14:20
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

Successfully merging this pull request may close these issues.

None yet

1 participant