- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 01:10 AM
@Ahmed Elghareeb :
The aif360 package requires a GUI library like tkinter for some of its visualization functionalities. However, it is not recommended to install GUI libraries on Databricks since it is a cloud-based platform and there is no display available. You can still use the aif360 package on Databricks, but you will need to avoid using the visualization functionalities that require tkinter. If you still need to use the visualization functionalities, one workaround is to install the required libraries on your local machine and run the visualization code from there.
If you still encounter issues with the installation, try installing aif360 and its dependencies using a Python wheel file instead of using pip. You can download the wheel file from the aif360 GitHub page (https://github.com/Trusted-AI/AIF360) and then upload it to your Databricks workspace. Then, install the wheel file using the "Upload Python Egg or PyPI Package" option in the "Libraries" tab.