microsoft / BatteryML

MIT License
516 stars 109 forks source link

adding openpyxl to the requirement file #18

Closed maboualidev closed 1 year ago

maboualidev commented 1 year ago

openpyxl needs to be added to the requirements, otherwise, convert_data_format() will fail on CALCE data set:

Processing dataset CALCE:  88%|███████████████████████████████████████████████████████████████████████████████▋           | 7/8 [34:08<04:52, 292.61s/it]
Traceback (most recent call last):                                                                                                                       
  File "/Users/moeabo/miniforge3/envs/battery_ml/lib/python3.10/site-packages/pandas/compat/_optional.py", line 132, in import_optional_dependency
    module = importlib.import_module(name)
  File "/Users/moeabo/miniforge3/envs/battery_ml/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'openpyxl'
fingertap commented 1 year ago

Yes, thanks for your feedback!

fingertap commented 1 year ago

This is handled in #19 . Closing.

HasanTheSyrian commented 6 months ago

XGBoost is also not added I had to manually install it.

hilinxinhui commented 6 months ago

also, 'requests' is also not added I had to manually install it: 90167d65-4ceb-41f6-aeec-f438256b7b4d