Running the holoclean tutorial

Git: https://github.com/HoloClean/holoclean

Relate Info

System Version:

1
2
Operating System: Ubuntu 24.04 LTS
Kernel: Linux 6.8.0-41-generic

0. Pre

1
2
3
4
docker run --name pghc \
-e POSTGRES_DB=holo -e POSTGRES_USER=holocleanuser -e POSTGRES_PASSWORD=abcd1234 \
-p 5432:5432 \
-d postgres:11

1. Download code

1
git clone https://github.com/HoloClean/holoclean

2. Create Conda Env And Enter

1
2
conda create -n hc36 python=3.6
conda activate hc36

3. Install dependency

1
pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html

4. Test

1

Question:

Q1:

Error in Insatll python-Levenshtein:

  • Ubuntu/Debian System:
    1
    sudo apt-get install build-essential python3-dev
  • CentOS/Fedora System:
    1
    2
    yum groupinstall 'Development Tools'
    yum install python3-dev

Q2:

Error Message:

1
2
3
4
File "python3.6/site-packages/smart_open/s3.py", line 9    
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined

Cause:
After Python 3.7, has future annotations

So, degrade the version of smart_open

1
pip install smart_open==3.0.0

Running the holoclean tutorial
https://www.hardyhu.cn/2024/09/10/Running-the-holoclean-tutorial/
Author
John Doe
Posted on
September 10, 2024
Licensed under