-
Notifications
You must be signed in to change notification settings - Fork 17
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
ImportError: DLL load failed while importing _cext: The specified module could not be found. #40
Comments
Hello @PimWagemans09. When you did the pip Install, did you source the virtual environment first? Also, where did you install (source) Python from? |
I did activate the venv before running pip and i installed the current latest version for windows from python.org |
i just noticed the venv pip version is 24.0 evethough the version in get-pip.py is 22.3.1 i have not run
also i now get a warning that i previously didnt when running theme_builder_setup.py:
this is weird as the documentation says 3.12 is supported |
The get-pip.py isn't intentional, and you can try upgrading pip. Don't worry about the warning, it's a benign bug. 3.12 is actually supported. I may struggle to reproduce & investigate this, as I only have Windows 11 these days. |
Maybe some of the suggestions here might help. |
i tried reinstalling all the libraries is the venv as i didnt know wich one was causing the issue (and cleared the pip cache) and i checked the enviroment variables which seem to be configured correctly including sys.path in the venv:
|
i also tried installing the visual studio c++ redistributables as mentioned here which didnt work and manually installing mvsc-runtime from a .whl file wich also didnt work due to the error:
all other .whl files on pypi say they're for python 3.11 so i have not tried installing them |
running the progam outside the venv (and installing the required packages) didnt work either |
I can't say that I am surprised. The problem seems to be caused by an indirect dependency. |
i tried |
matplot lib stopped working completely on my system inside or outside of a venv |
i figured it out the fix was installing the visual studio redistributables but i made a mistake and downloaded the wrong version and didnt care to double check |
No problem; pleased it's sorted. |
Hello its me again it seems im am cursed or something
i tried installing ctk theme builder on another laptop and ran into a problem again (a different one though)
it installs just fine but when trying to run te program i get this Exception:
i tried the solution from this stackoverflow answer (pip install msvc-runtime) but then i got the error:
theme builder setup log
theme_builder_setup_2024-05-24_21-05-42.log
python 3.12.3
windows 10 education
ctk_theme_builder 3.1.0
The text was updated successfully, but these errors were encountered: