Script unable to locate it's own libraries on windows..
Version: 3 OS: Windows 10 Shell: git bash (as recommended to) Anime: None
New v3 ani-cli won't work on windows 10. I've uninstalled the previous ani-cli version and followed the readme install steps to install the new version 3 but I get this error when running:
C:\ProgramData\scoop\apps\ani-cli\current\ani-cli: line 470: C:\ProgramData\scoop\apps\ani-cli\current/players/player_mpv: No such file or directory
C:\ProgramData\scoop\apps\ani-cli\current\ani-cli: line 53: err: command not found
I can confirm that this is indeed version 3, version 1.9 worked fine. I can also confirm that I updated on my android phone and it worked completely fine, just on windows I'm having this issue.🙁
- I followed these steps: https://github.com/pystardust/ani-cli/tree/master#windows
- I also installed it via scoop using these steps: https://github.com/pystardust/ani-cli/tree/v3#windows

Can you try running /usr/local/bin/ani-cli in git bash?
I don't know if this will work for you cause it did work for me, but you could try copying the files from the folder where git installed ani-cli from (in this case the Program Files/Git/usr/local/bin/ani-cli) to the scoop folder like I did here:
I removed them from their respective folders and placed them all at the same folder, which in this case the "current" or "3.0" folder, they're the same I think. This is just a temporary fix though, so this will only work for now. (Tested this on Windows 11 21H2)
Can you try running
/usr/local/bin/ani-cliin git bash?
Umm, it says no directory found, I knew the directory didn't exist.

I don't know if this will work for you cause it did work for me, but you could try copying the files from the folder where git installed ani-cli from (in this case the Program Files/Git/usr/local/bin/ani-cli) to the scoop folder like I did here:
I removed them from their respective folders and placed them all at the same folder, which in this case the "current" or "3.0" folder, they're the same I think. This is just a temporary fix though, so this will only work for now. (Tested this on Windows 11 21H2)
Thanks, I'm going to try this.
@YuleTomalin Thanks so much, that worked. Turns out scoop only downloaded the "ani-cli" file and ignored the rest of the files, I've never used this kind of stuff so I'm not quite sure why but hey git cloning and moving the files to the scoop files worked.
When I Installed it this way:

Just moving the files in myself:

I hope you guys can find out the issue, if you want me to provide anything else to help just ask.
So did it turn out to be a scoop issue? If so you can try contacting the scoop package maintainer to issue a fix
I had the same problem and this is how I resolved it. It seems like its a problem with scoop but I'll leave this here just incase it helps someone

-
Downloaded the lastest source code
-
Navigate to the directory where it says the file is missing
C:\Users\Ashwi\scoop\apps\ani-cli\in my case
-
Copy the libraries from the lib folder in the source code

-
Create a folder called players in the current folder, and copy everything to the players folder as well as the current folder.

@xxiz yep can confirm that temporary fixes the issue. 👍
So did it turn out to be a scoop issue? If so you can try contacting the scoop package maintainer to issue a fix
Yeah but also idk if it's just me, but when I followed the windows install instructions on the repo I couldn't install as I stated in my original message so I used scoop instead. It said it couldn't find that usr folder as stated here: https://github.com/pystardust/ani-cli/issues/775#issuecomment-1160860989
I ran into the same issue using macOS as well, the previous version was working fine though.
I ran into the same issue using macOS as well, the previous version was working fine though.
just follow the macOS instructions from the readme and everything should be fine
It's an issue with the latest version, after updating the script I ran into this error message
"/usr/local/bin/ani-cli: line 1: 404:: command not found"

I reinstalled ani-cli following the instructions in the redeem but the issue remains.
so I tried installing version 2 instead and it worked fine, updated the script for the second time just to test it and it broke again.
We are now back to onefile.. please follow new installation commands again... Or better wait for scoop package.. closing this issue now