Skip to content
Discussion options

You must be logged in to vote

pywavelets 1.9.0 is 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.toml dependencies as usual:

dependencies = [
  "flet",
  "neurokit2",
]

One tip: import neurokit2 pulls in matplotlib.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:

import os

mpl_dir = os.path.join(os.getenv("FLET_APP_STORAGE_DATA", ""), "matplotlib")
os.makedirs(mpl_dir, e…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants