colesbury / nogil

Multithreaded Python without the GIL
Other
2.91k stars 107 forks source link

can't import apose.email , KeyError raised #108

Closed dc3l1ne closed 1 year ago

dc3l1ne commented 1 year ago

Hello colesbury ! Thanks for your working ! It really helps me a lot . But it seems that some packages cannot be loaded on this version. I install this package via pip install Aspose.Email-for-Python-via-NET , but when I use from apose.email import MailMessage or import apose.email , python will raise KeyError. I tried build python in Ubuntu 18.04 and Ubuntu 22.04 , and all modules were built successfully unless _decimal. Hope I can get your answer !

colesbury commented 1 year ago

Hi @dc3l1ne, thanks for the bug report. Sorry this fell of my radar. I'll look into it tomorrow.

colesbury commented 1 year ago

Sorry, I don't think it's possible to support Aspose.Email-for-Python-via-NET. The package contains binary libraries for specific versions of Python. It's not possible for me to re-compile those for "nogil" Python because the package is not open source.

dc3l1ne commented 1 year ago

Thanks for the reply. I thought it was the python which caused it , and according to your answer, I think it's impossible to fix it with a compiled package.

colesbury commented 1 year ago

Yeah, as far as I can tell, it's only possible for the author of the Apose package to fix (by recompiling for nogil Python.) You can try asking on their support page.