caiobd / sprite-ai

Sprite AI - An AI companion for your desktop
10 stars 3 forks source link

Windows Supported? #28

Open DarkCybrid opened 2 months ago

DarkCybrid commented 2 months ago

Hi I was really intrigued by this so I tried to install on my windows 11 but it kept failing, I won't put the full error code here but instead the last bit. It basically say that the reason I can't install it because it keeps failing to install patchelf.

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for patchelf Failed to build patchelf ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (patchelf)

I tried to install patchelf separately but it seems like I just can't get it installed, is there any work around?

caiobd commented 2 months ago

Hi @DarkCybrid, I'm glad to hear you are interested in the project, all libraries used support linux, windows and mac, however I'm only able to test the releases on Ubuntu. I will take a look at the problem you are having through the weekend and see if I can find a solution, meanwhile could you do me a favor and gather some information for me so I have a better picture of the problem?

  1. Did you try installing using pypi or the git repo?
  2. Did you use pipx or pip?
  3. Are you using a virtual environment? If you are using one, which venv manager are you using? (Ex. venv, conda, pyenv)
  4. Which version of python are you using?
  5. Which version of the project did you try to install? Was it a versioned one or you installed from the head of the master branch?
  6. Have you tried installing versions other the the latest one?
DarkCybrid commented 2 months ago

Hi @caiobd thank you for your answer and sorry for the late reply. Here are the answer for your questions regarding my situation. 1./2. I tried to install it from both pip and pipx using 'pip install sprite-ai', 'pip install --user sprite-ai' and pipx install sprite-ai.

  1. I tried virtual enverionment when I kept getting error after trying so many things and I used venv.
  2. I have Python 3.12.5 installed. 5./6. I'm not sure about the version since I only tried to install it from the pip and pipx.

I also tried to use both Anaconda and normal cmd those installation command as well as installing the patchelf manually or installing CMake, Visual Studio and Microsoft Built Tools since I read that might fix it. But I still got that patchelf couldn't install. I'm honestly still new in all this so I'm not sure how to go about the manual installation. Sorry for the trouble