Installation
Install Python Using miniforge.
If you haven't already installed Python with miniforge(Mamba), we recommend (re-)installing Python with miniforge. The miniforge will install conda and automatically configure the default channel to be conda-forge, and it is more stable and faster than the original conda.Please follow the instrucutions under the tab that maches your OS to complete the installtion.
Setting the environment
To avoid the conflict, we recommend using a new virtual environment to install FISSpy. First, launch a terminal (under a UNIX-like system) or the miniforge Prompt (under Windows). Then create and activate a new virtual environment:
$ conda create -n yourenvnamepython=3.12
$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda activate yourenvname
You can freely change 'yourenvname' to a different environment name. Here you can replace the 'python=3.12' with any other python version>3.6.
If you want to escape from the activated environment, run 'conda deactivate' on your terminal.
Option 1) Using Mamba (Conda)
Now we are ready to install fisspy. To install the latest version of the fisspy following the below on your terminal or prompt:
$ mamba install fisspy
Here 'mamba' can be replaced with 'conda'.
This will install FISSpy and all required packages.
You can also specify the version of the FISSpy like below:
$ mamba install fisspy=0.9.80
You can also install other packages you need, such as 'spyder' using same method".
Option 2) Using PyPI
If you fail to download the FISSpy using the above options, you can download the package using the PyPI server, but we do not recommend this method because of the code dependency.
> pip install fisspy
Updating FISSpy
To update the package, you first check the available version of the FISSpy by running:
> mamba search fisspy
Then, update or install a specific version of the FISSpy
> mamba update fisspy
or
> mamba install fisspy=x.x.x