Skip to content

Life Savers 🆘

Eduardo Moreno edited this page Apr 21, 2024 · 2 revisions

Welcome to the nlp_nanook wiki!

Virtual Environment

  1. Create folder to allocate virtualenv
mkdir <FOLDER_NAME>
mkdir env_nlp_nanook
  1. Create virtual environment specifying Python version:
virtualenv --python="<PATH_PYTHON_VERSION_FOLDER>" "<PATH_ENV_FOLDER>"
virtualenv --python="/usr/bin/python3" "/Users/eduardomorenoortiz/Desktop/ITAM/nanook/nlp_nanook/env_nlp_nanook"
  1. Activate virtual environment
source <FOLDER_VIRTUALENV_NAME>/bin/activate
source env_nlp_nanook/bin/activate
  1. Activate virtualenv on Jupyter Notebook

Requires ipykernel pip install ipykernel

python -m ipykernel install --user --name=<VIRTUALENV_NAME>
python -m ipykernel install --user --name=env_nlp_nanook
Clone this wiki locally