Once miconda is installed run the following in the terminal (before running the second command you may need to install Node.js, see docs here):

conda install -c conda-forge hyperspy
jupyter labextension install @jupyter-widgets/jupyterlab-manager

Install pyxem:

conda install -c conda-forge diffpy.structure
pip install https://github.com/pyxem/pyxem/archive/master.zip