Open sujee opened 1 month ago
You can use these steps to use data-prep-kit on windows.
We can run data prep transform recipes on windows if we use wsl on windows.
wsl --install Ubuntu-24.04
NOTE: Steps below can also work on linux (redhat/fedora or ubuntu).
Execute these commands on wsl or linux shell.
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_24.7.1-0-Linux-x86_64.sh
chmod a+x Miniconda3-py310_24.7.1-0-Linux-x86_64.sh
./chmod a+x Miniconda3-py310_24.7.1-0-Linux-x86_64.sh
To activate conda's base environment in your current shell session:
# Activate conda for current shell
eval "$(/home/shivdeep/miniconda3/bin/conda shell.bash hook)"
conda create -n data-prep-kit-1 -y python=3.11
# activate the new conda environment
conda activate data-prep-kit-1
# make sure env is swithced to data-prep-kit-1
## Check python version
python --version
# should say : 3.11
#Install jupyter lab
pip3 install jupyterlab
# Install c/cpp toolchains
conda install gcc_linux-64
conda install gxx_linux-64
Now the set up should be ready.
conda activate data-prep-kit-1
Then you can try your commands
pip install data-prep-toolkit-transforms==0.2.1 data-prep-toolkit-transforms-ray==0.2.1
@sujee were you able to verify if this is now resolved?
@dolfim-ibm @shivdeep-singh-ibm
there was a confusion about this. I was asking about native windows install. Not WSL2 on windows.
I am hoping with the new docling release integration, we can install on windows natively (currently being tested)
Yes, I was also speaking about native Windows support, which is available since when this PR was merged https://github.com/IBM/data-prep-kit/pull/723.
Search before asking
Component
Other
What happened + What you expected to happen
This issue is reported by a workshop user.
When trying to install the following
pip install data-prep-toolkit-transforms==0.2.1 data-prep-toolkit-transforms-ray==0.2.1
Getting the following error : https://gist.github.com/Alirezasedd/b9949fee563facb28aae34082517e151
Basically deepsearch-glm release not found
This is reported on windows (native install with anaconda). I am able to install it successfully on Ubuntu 24.02.
Reproduction script
pip install data-prep-toolkit-transforms==0.2.1 data-prep-toolkit-transforms-ray==0.2.1
Anything else
No response
OS
Other
Python
3.11.x
Are you willing to submit a PR?