indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.4k stars 234 forks source link

Memory loading issue possible workaround #641

Open henningWoehr opened 1 year ago

henningWoehr commented 1 year ago

Hi, i've recently came across the memory loading issue like in the issue (438). I am also using pydantic(1.10.2). After I tried around for some time I tried using pydantic from github instead of Pypi. In that case, the error extension module pydantic cannot be loaded from memory but memory loading required won't come anymore.

Now the main question is, why there is a difference between using the pre-build wheels from Pypi and using the github repo and building it itself. The problem is, that we want to use pyoxidizer to build independent executables without the requirement to install additional libs (at least for linux). I've made a demo repo to easily reproduce this error. There's also a little more documentation on how to reproduce this error.

I hope this is the right place for this issue because I figured, this has to be an issue with how pip is used to installs the wheel, but that's just guess.