source
Problem: When running a conda environment and opening tmux on macOS, a utility called path_helper is run again. Essentially, the shell is initialized twice which messes up the ${PATH} so that the wrong Python version shows up within tmux.
Solution If using bash, edit /etc/profile and add one line. (For zsh, edit /etc/zprofile)
Showing posts with label Jupyter. Show all posts
Showing posts with label Jupyter. Show all posts
Wednesday, July 3, 2019
Saturday, March 23, 2019
Use Azure as your Jupyter notebook Server
Make sure to follow the steps from this post to setup your Azure Virtual Machine: http://www.etedal.net/2019/03/setting-up-azure-nc6-for-kaggle.htmlSetup Jupyter remote ssh connection:On Azure: jupyter notebook --no-browser --port=2001On your machine: ssh -N -f -L localhost:2002:localhost:2001 remoteuser@remotehost
(Optional if you use mosh instead): mosh -ssh "ssh -N -f -L localhost:2002:localhost:2001" remoteuser@remotehostOn your browser: localhost:2002 Tuesday, January 22, 2019
Initial Steps for Python
Change python version system-wide
This page has a great explanation for switching between Python and Python3:https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux
Installing Jupyter
Since in Python 3, ConfigParser has been renamed to configparser I switched to Python using:Then for installing and running a Notebook:
Subscribe to:
Posts (Atom)