Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

ImportError: DLL failed while importing _pyllamacpp: The specified module could not be found #53

Open
taaha opened this issue Apr 10, 2023 · 7 comments

Comments

@taaha
Copy link

taaha commented Apr 10, 2023

image
This happens when I try to install gpt4all gui

@abdeladim-s
Copy link
Collaborator

@taaha,

What Python version are you using ?
Are you using Anaconda ?

@taaha
Copy link
Author

taaha commented Apr 12, 2023

No I dont have conda installed. just pip and python 3.10.11
image

Also I am using windows on a virtual machine running on linux. I dont know if that is related.

@abdeladim-s
Copy link
Collaborator

Yeah probably, I didn't try on a VM, so I cannot tell.
If you can downgrade to python 3.9 and try.

Also if you have Linux, why trying it on windows 😆 ?!! on Linux is working like a charm!

@ZMon3y
Copy link

ZMon3y commented Apr 13, 2023

I'm seeing the same behavior in Windows Server 2022. I tried python 3.10 and 3.9.9

@tzaeb
Copy link

tzaeb commented May 1, 2023

I was able to fix this error on my windows pc by installing the Microsoft C and C++ (MSVC) runtime libraries.
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

@abdeladim-s
Copy link
Collaborator

Thank you very much @tzaeb for the solution. I appreciate it!

@abdeladim-s abdeladim-s pinned this issue May 2, 2023
@tianlichunhong
Copy link

I was able to fix this error on my windows pc by installing the Microsoft C and C++ (MSVC) runtime libraries. https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

I installed MSVC, but the problem still there. Don't know how to solve it.

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

No branches or pull requests

5 participants