Replies: 1 comment 3 replies
-
Please check the FAQ. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
Let me begin by saying I have a very limited knowledge of python, and even less of how cx_Freeze works.
With that being clear, I'm running into the following problem. Now, this used to work fine but for some reason cx_Freeze is nolonger able to find the
api-ms-win*
libraries. As in, it did before, but I haven't had the need to run a build in a couple of months, I did switch to a new windows user-profile, but my memory has holes to make a sieve jealous, so no idea what might be different this time.Searching the web I learned it looks for them using the path env variable and that I should have
C:\Windows\System32
in there. Well, obviously it is, but if I do a search withEverything
I see these aren't in this folder but hardlinked inC:\Windows\System32\downlevel
.Thinking that might be the issue, I added this folder to my path env variable too, but sadly this didn't make any difference.
The original repo also provides a setup.py file, which I use to run the build process locally, but the repo owner uses a workflow to let github handle the build processs (multi-platform) and of course there it doesn't have the same issue.
This means the cause is very likely my system setup, but what? I tried excluding user-error by re-installing python (pyenv-win), recreating the project's .venv folder, reinstalling msvcrt distros (using the All-In-One package from TechPowerUp) but still no luck.
I even tried downgrading cx_Freeze to earlier versions, hoping that a change in cx_Freeze might be the reason, no luck there either.
At this point I am out of ideas.
Beta Was this translation helpful? Give feedback.
All reactions