indygreg / PyOxidizer

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

Help loading a package #273

Open AlaShiban opened 4 years ago

AlaShiban commented 4 years ago

I've been trying to load a few NLP related packages, and seems they can't be loaded in-memory Successfully installed click-7.1.2 joblib-0.16.0 nltk-3.5 regex-2020.6.8 tqdm-4.47.0 error[PYOXIDIZER_BUILD]: in-memory-only resources policy active but in-memory extension module importing not supported by this configuration --> ./pyoxidizer.bzl:107:5 | 107 | exe.add_in_memory_python_resources(dist.pip_install(["nltk"])) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ add_extension_module I built the package from source locally, but now I'm unsure how to include it. Would love some help - happy to be able to bundle an app into a binary

4mtalhas commented 4 years ago

I am having the same issue. Is anyone able to figure out?