Follow these steps to install the humlab-inidun package:
Prerequisites
Chocolatey (Windows 10, recommended).
Chocolatey is a Windows package installer that simplifies installation of pyenv and Python. To install Chocolatey you can follow these instructions.
Python 3.8.5
Run python --version to determine the current version. Use pyenv to install Python 3.8.5:
Pyenv (recommended)
Pyenv enables easy switching between different Python versions. Use install instructions in automatic installer.
curl https://pyenv.run | bash
exec $SHELL
If you are installing on MacOS:
brew install xz
Install and set Python 3.8.5 as (user) global version:
pyenv install 3.8.5
pyenv global 3.8.5 (optional)
pyenv activate 3.8.5 (to activate this specific version)
Poetry
Poetry is the Python package manager (comparable to pipenv) used by this project, and is needed in order to install humlab-inidun in a separate and isolated environment. See this link on how to install Poetry. Note that Python 3.8.5 must be activated before installing Poetry.
Follow these steps to install the
humlab-inidun
package:Prerequisites
Chocolatey (Windows 10, recommended). Chocolatey is a Windows package installer that simplifies installation of
pyenv
andPython
. To install Chocolatey you can follow these instructions. Python 3.8.5 Runpython --version
to determine the current version. Use pyenv to install Python 3.8.5: Pyenv (recommended) Pyenv enables easy switching between different Python versions. Use install instructions in automatic installer.If you are installing on MacOS:
Install and set Python 3.8.5 as (user) global version:
Poetry Poetry is the Python package manager (comparable to
pipenv
) used by this project, and is needed in order to installhumlab-inidun
in a separate and isolated environment. See this link on how to install Poetry. Note that Python 3.8.5 must be activated before installing Poetry.On Linux/MacOS:
On Windows
Please restart the terminal upon completed install.
Install humlab-inidun
humlab-inidun-deploy
)In directory
poetry init --python 3.8.5 poetry add humlab-inidun
Windows 10: Download installer from this link.
Install Jupyter Lab extensions and NLTK data
Run the Jupyter Notebooks
humlab-inidun
folderpyenv activate 3.8.5
(MacOS) orpyenv shell 3.8.5
(Windows 10)humlab-inidun
isolated environment:poetry shell
jupyter lab .