Closed hlpr3 closed 1 week ago
Hi, im developing Sparrow on macOS, didnt had time to test it on Windows. Why you are using WSL? Install Python directly on Windows, it will work.
If you would like to install sparrow directly on Windows, the major issue is how to install python-poppler for ocr. Following this instruction:
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-poppler
Then - pip install -r requirements.txt
WSL would be better option to my opinion.
@hlpr3 the quick way on WSL: copy the errors into copilot and ask for solutions. It's not a big deal, and just need to install many additional packages. It would take much long time to install all packages when pip install -r requirements.txt
Here is the list I did:
sudo apt-get update
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git poppler-utils libpoppler-cpp-dev
then install python-poppler
pip install -v -v python-poppler
@hlpr3 there is one more things for WSL. Since WSL is not in the same network with host, you could not directly call localhost:11434 to query ollama. But you could easily resolve this issue by enabling mirrored mode networking.
wsl --update
[wsl2]
networkingMode = mirrored
wsl --shutdown
Hey thanks for the great sharing ! However I'm struggling to make it work on a Windows system. Could you please look into it and help troubleshoot WSL installation ?
Best!