project-codeflare / codeflare

Simplifying the definition and execution, scaling and deployment of pipelines on the cloud.
https://codeflare.dev
Apache License 2.0
218 stars 35 forks source link

Error in installing dependencies for LALE jupyter notebook on binder #10

Closed asm582 closed 3 years ago

asm582 commented 3 years ago

Describe the bug lale libray does install does not install all dependencies, options tried were:

!pip install lale[full]
!pip install 'liac-arff>=2.4.0'

and

!pip install lale
!pip install 'liac-arff>=2.4.0'

To Reproduce Steps to reproduce the behavior:

  1. Go to binder
  2. Click on LALE jupyter notebook

Expected behavior all cells in the examples should run without errors

Additional context

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-6-44a629fbc523> in <module>
----> 1 (X_train, y_train), (X_test, y_test) = fetch("jungle_chess_2pcs_raw_endgame_complete", "classification")

~/anaconda3/lib/python3.8/site-packages/lale/datasets/openml/openml_datasets.py in fetch(dataset_name, task_type, verbose, preprocess, test_size, astype)
    663     from lale.datasets.data_schemas import liac_arff_to_schema
    664 
--> 665     schema_orig = liac_arff_to_schema(dataDictionary)
    666     target_col = experiments_dict[dataset_name]["target"]
    667     y: Optional[Any] = None

~/anaconda3/lib/python3.8/site-packages/lale/datasets/data_schemas.py in liac_arff_to_schema(larff)
    310 
    311 def liac_arff_to_schema(larff) -> JSON_TYPE:
--> 312     assert is_liac_arff(
    313         larff
    314     ), """Your Python environment might contain an 'arff' package different from 'liac-arff'. You can install it with

AssertionError: Your Python environment might contain an 'arff' package different from 'liac-arff'. You can install it with
    pip install 'liac-arff>=2.4.0'
or with
    pip install 'lale[full]'
raghukiran1224 commented 3 years ago

closing as this is binder related