neurokit2 + PyWavelets #6649
-
|
I would like to request adding neurokit2 and PyWavelets to the pypi.flet.dev package index. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
pywavelets neurokit2 doesn't need a package on our index — it's pure Python, so it installs straight from PyPI. All of its other native dependencies (numpy, scipy, pandas, scikit-learn, matplotlib) are already available. Just add both to your dependencies = [
"flet",
"neurokit2",
]One tip: import os
mpl_dir = os.path.join(os.getenv("FLET_APP_STORAGE_DATA", ""), "matplotlib")
os.makedirs(mpl_dir, exist_ok=True)
os.environ.setdefault("MPLCONFIGDIR", mpl_dir)
os.environ.setdefault("MPLBACKEND", "Agg")
import neurokit2 as nkUsing Let know if u face any issues. |
Beta Was this translation helpful? Give feedback.
pywavelets
1.9.0is now available on pypi.flet.dev for both iOS and Android.neurokit2 doesn't need a package on our index — it's pure Python, so it installs straight from PyPI. All of its other native dependencies (numpy, scipy, pandas, scikit-learn, matplotlib) are already available. Just add both to your
pyproject.tomldependencies as usual:One tip:
import neurokit2pulls inmatplotlib.pyplot, which needs a non-GUI backend and a writable config dir (for its font cache) on mobile. Point it at Flet's app storage before the first import: