Skip to content
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

OSError: [WinError 126] #119

Open
timespace02 opened this issue Aug 19, 2024 · 2 comments
Open

OSError: [WinError 126] #119

timespace02 opened this issue Aug 19, 2024 · 2 comments

Comments

@timespace02
Copy link

When using it, this issue appears: 'OSError: [WinError 126] The specified module could not be found. Error loading "C:\venvproject\venv\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.' How can I fix it?

@notimp
Copy link

notimp commented Aug 19, 2024

Bwhahaha. Ah. Support my windows machine running a virtual machine, where a project says it cant see a file. Ah. Tech support for the gods.... Ehm, no.

Read this:

#113

If you installed a newer version of python, than listed in there - installation of some dependencies fails, not sure if its torch, but definitely two of them. Follow the step by step there, and see if you can get it to run without even resorting to virtualization.

Putting the downloaded, unzipped project files from github (this one: https://github.com/ogkalu2/comic-translate/archive/refs/heads/main.zip ) into a folder in you Documents, or Downloads or Desktop folder, might help as well, unsure how windows handles file permissions trying to access folders directly in the C drive these days... There only files with admin permissions might be able to run these days, so use some common "user land" folder, like downloads, documents, or desktop (and then the project folder with all the unzipped files in there) instead. Might prevent some issues as well, I'm unsure.

@Daemonhellz
Copy link

Daemonhellz commented Aug 31, 2024

I got the same error using Python 3.10 provided by Windows Store.

Downgrading to Python 3.9 provided by Windows Store did the trick, the program works.

Note that installers are no longer provided on the official Python website for these Python versions.

EDIT : Sadly, Windows-provided Python 3.9 will have trouble with manga-ocr and its module fugashi as stated here.

EDIT 2 : Older Python 3.9.19 installers can be found here - download at your own risk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants