Get mambaforge: https://github.com/conda-forge/miniforge
The below stuff only works with mamba
, conda
has trouble getting env a
together.
mamba create -n jupy python=3.11 "jupyterlab>=4" jupytext ipywidgets widgetsnbextension nodejs nb_conda_kernels python-lsp-server black pyright jupyterlab-lsp ipympl
# or, mamba create -n jupy python=3.10 "jupyterlab>=4" jupytext ipywidgets widgetsnbextension nodejs nb_conda_kernels black
mamba activate jupy
pip install jupyterlab-sublime jupyterlab-code-formatter
mamba create -n a python=3.11 numba seaborn scikit-learn scikit-image ipywidgets h5py colorcet tqdm joblib hdbscan cython matplotlib-venn pyfftw
mamba activate a
# go to pytorch.org and find install instructions if you want gpu!
mamba install pytorch torchvision torchaudio -c pytorch
pip install ibllib
# pip -e install . your local repositories
I would recommend installing spikeinterface, probeinterface, and neo locally from their git repos: https://github.com/SpikeInterface/probeinterface, https://github.com/SpikeInterface/spikeinterface, https://github.com/NeuralEnsemble/python-neo