5 ms·
Hey, I did just that last week (actually I import Pandas, which requires numpy). There's a "plugin" option for numpy, in Nuitka, that makes it work. There are
by gota 5y ago
Hey, I did just that last week (actually I import Pandas, which requires numpy).
There's a "plugin" option for numpy, in Nuitka, that makes it work. There are similar plugins for a handful of packages.
- gota 5y agoFor reference, the page with the plugins' documentation is not a very top search result, so I'll include it here: https://github.com/Nuitka/Nuitka/blob/develop/Standard-Plugins-Documentation.rst https://github.com/Nuitka/Nuitka/blob/develop/Standard-Plugi... The list of plugins is: dill-compat Required by the dill module eventlet Required by the eventlet package gevent Required by the gevent package multiprocessing Required by Python's multiprocessing module numpy Required for numpy, scipy, pandas, matplotlib, etc. pmw-freezer Required by the Pmw package pylint-warnings Support PyLint / PyDev linting source markers qt-plugins Required by the PyQt and PySide packages tensorflow Required by the tensorflow package tk-inter Required by Python's Tk modules torch Required by the torch / torchvision packages