Installation
For Mac (Intel chip), Linux or WSL2 users
Install from PyPI
pip install basicpy
or install the latest development version
git clone https://github.com/peng-lab/BaSiCPy.git
cd BaSiCPy
pip install .
For Mac users with M1 chip
BaSiCPy requires jax, which has potential build issue with M1 chips. One easiest solution is using Miniforge as explained here. In the Miniforge environment, please try the following:
pip install "jax[cpu]==0.3.22" jaxlib
pip install basicpy
For Windows users
BaSiCPy requires jax which does not support Windows officially. However, thanks to cloudhan/jax-windows-builder, we can install BaSiCPy as follows:
pip install "jax[cpu]==0.3.14" -f https://whls.blob.core.windows.net/unstable/index.html --use-deprecated legacy-resolver
pip install basicpy
For details and latest updates, see this issue.
Install with dev dependencies
One can use venv as:
git clone https://github.com/peng-lab/BaSiCPy.git
cd BaSiCPy
python -m venv venv
source venv/bin/activate
pip install -e '.[dev]'