Aqua-Vision/MgKex

Python 3.13 Error (I fixed it)

Closed this issue · 3 comments

Python 3.13 cannot import package from PATH, and Python embbed cannot launch. This is an annoying bug to Python developers.
图片
12/10 UPDATE: I fixed it by using some of the code in https://github.com/nalexandru/api-ms-win-core-path-HACK/blob/master/api-ms-win-core-path-blender.c#L161. I will delete some unsafe funcs and publish the code here.
图片

wow, nice! I need this for ytdlp :)

@YuZhouRen86 You are not to post unofficial files here. If you so need, create a fork and open a pull request. It is a security risk.

@YuZhouRen86 You are not to post unofficial files here. If you so need, create a fork and open a pull request. It is a security risk.

I am sorry to publish the unofficial files. This is a serious bug to Python developers such as me, it is caused by function pathcch.c/PathCchCombineEx. If you need any help, I am glad to help you.