-
Notifications
You must be signed in to change notification settings - Fork 0
Life Savers 🆘
Eduardo Moreno edited this page Apr 21, 2024
·
2 revisions
Welcome to the nlp_nanook wiki!
- Create folder to allocate
virtualenv
mkdir <FOLDER_NAME>
mkdir env_nlp_nanook
- 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"
- Activate virtual environment
source <FOLDER_VIRTUALENV_NAME>/bin/activate
source env_nlp_nanook/bin/activate
- 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