Please follow the installation instructions in the Documentation.
Windows
Linux
MacOS
$ conda install -c anaconda -c conda-forge -c zhouyulab leafnet