Installation

Installing with pip

These instructions cover installation with the Python package management tool PyPI. Python3.7 or higher is required and no support will be provided for Python2.

$ pip install nenupy

Updates need to be regularly check for while this package is still in developpment:

$ pip install nenupy --upgrade

Note

There is no support for a conda insatallation yet.

Installation on nancep

$ python3.8 -m pip install nenupy

or the current ‘beta’ version hosted on GitHub:

$ pip3 install --user --upgrade https://github.com/AlanLoh/nenupy/tarball/master

Note

You would probably have to update some packages:

$ python3.8 -m pip install setuptools
$ python3.8 -m pip install --upgrade jupyter
$ python3.8 -m pip install --upgrade --user nbconvert
$ python3.8 -m pip install h5py --upgrade
$ python3.8 -m pip install ephem --upgrade
$ python3.8 -m pip install colorama --upgrade
$ python3.8 -m pip install traitlets --upgrade
$ python3.8 -m pip install healpy --upgrade
$ python3.8 -m pip install nenupy --upgrade
$ python3.8 -m ipykernel install --user
$ python3.8 -m pip install jupyter ipython
$ python3.8 -m pip install /databf2/nenufar/workshop/pygsm/PyGSM/ --user

To execute a notebook:

$ export PATH=$PATH:~/.local/bin
$ python3.8 -m jupyter notebook --browser firefox

Dependencies

Note

To install PyGSM, follow the project instruction on their github page.