-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
"The procedure entry point (...) could not be located" on windows #2201
Comments
Hi! Did you try to restart your computer? It can help if you installed/uninstalled some packages. Otherwise, does this |
Wow, that’s another problem on Windows I’ve never seen before! I really think that you have multiple versions of these libraries installed on your computer. Many people get this error with many apps, that’s just another DLL hell problem. https://stackoverflow.com/questions/20854074/the-procedure-entry-point-could-not-be-found About the GLib warning, it looks like it’s a common message too: 3b1b/manim#1556. Uninstalling or reinstalling the concerned apps seems to fix the problem. These two problems come from interactions with other programs installed on your system. As I’ve not used Windows for a very long time, I won’t be able to help you with that, you’ll probably get more help from Windows masters on StackOverflow. If you want to avoid these problems, you can also try to use WSL, or the Windows executable we provide. |
OK, that’s your problem, you have 2 different versions of the libraries installed.
Python doesn’t use WeasyPrint/weasyprint/text/ffi.py Lines 475 to 481 in c345629
The problem may come the fact that you have both MSYS2 and GTK3 libraries installed, as WeasyPrint looks in these two folders by default. Maybe setting
Please don’t do this, you don’t have to rename the files. WeasyPrint already tries different names (including |
I had uninstalled GTK3-runtime already. It's gone, the DLLs too. Created new venv with microsoft store python (checked with
Still got this error, despite deleting GTK-3 runtime and all its DLLs.
Ok, this finally worked. No errors. Now I need to get it to all work with |
Thanks for your help. It seems in the end a combination of different issues caused my problems |
I was having the same issue as #2198 and decided to follow your instructions at #2198 (comment)
So I uninstalled every python distribution I have including conda from my system before installing python 3.12 from the windows store.
Now I get a different error:
![e2sAbDcWcv](https://private-user-images.githubusercontent.com/7143787/348376368-cf3dfbb3-18cf-41ed-abd0-4fa911004842.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2ODQ3ODMsIm5iZiI6MTcyNTY4NDQ4MywicGF0aCI6Ii83MTQzNzg3LzM0ODM3NjM2OC1jZjNkZmJiMy0xOGNmLTQxZWQtYWJkMC00ZmE5MTEwMDQ4NDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDdUMDQ0ODAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDFlOTY2N2U4ZDZlOTQ2YzYwM2FmZjgzYzQ5NWY0MzFkNzVkMzMyZDQ2MzE4YzA1Y2Y0NGFhMGYzODEzNzM4ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._by71KbKtM703WMLVD5zsp_iw3AjEzJ3v0OZSD8U62A)
This happens on import, yes it shows up as a window. There's multiple, one for each library.
The text was updated successfully, but these errors were encountered: