-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I couldn't detect any installed dependencies. #660
Comments
5.6.5 btw |
I just put "kindlegen.exe" on the same floder and fixed it.Now still showing "Install 7z(link)" |
Why is the font different than usual? @thevenomsnake What happens when you type in these addresses into File Explorer? This is where KCC is looking for kindlegen and 7z
If it didn't install there where did it install? Did you click the links in the kcc gui? https://github.com/ciromattia/kcc?tab=readme-ov-file#prerequisites |
I understand now where the problem was. I usually avoid installing software on the C drive, so there were no files in the two default locations you mentioned. I reinstalled the software to the default location, and now the problem is resolved. |
I just found this issue and I think this should be fixed ... |
@shihong5858 what version of kcc are you using? And where did you put the kcc.exe? It should search for kcc automatically if you didn't change default install path. Try running kcc from desktop. Did windows 11 change something? Are you using win11? |
I'm running kcc 5.6.5 on Windows 10. kcc is located on E: drive while 7-zip is on D: drive. I tried uninstalled 7-zip and re-installed it on C: drive and the warning is gone and kcc function right. I'm working on kcc-c2e now and was afraid the same issue could happen (I didn't verify it though since it's already on C: now) so I had to point it out. I think if we decide not to fix the mandatory path issue, atleast we should warn people in the README. Thanks :) |
Just to point it out: when I work with kcc-c2e, the stupid behavior on Powershell environment variable drove me crazy as well. I'm not sure if c2e would have the same concern (the [Environment]::GetEnvironmentVariables vs $env:Path) |
@shihong5858 I think taking arbitrary drive letters would be a good feature. Is the only difference in the url C vs D? When you first installed 7z it defaulted to D? @thevenomsnake did you manually change it away from default C or did it default to another letter? More info about c2e in |
@axu2 right, I first installed 7z on D drive as lots ppl like me like to avoid installing software on default C drive. My suggestion would be reading the 7z from the environment (usually through PATH), which is how most Windows users config their machine when they face the missing dependency errors. |
I'll add the d and e drive as a search location for 7z. We do search path but 7z isn't added to path on install. You can tell because typing 7z into cmd doesn't work. |
I think in my case it wasn't searching the path, at least I saw the warning on UI and c2e error in Powershell when I have 7z added into PATH manually. I even tried 7z.exe in cmd and it's working (so I can confirm it was added into PATH) |
Describe the bug
Expected behavior
I have already installed zip and KindleGen, but it still prompts me to install dependencies and the conversion function cannot run.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: