Install jupyterlab with docker-compose

download the following "docker-compose.yml" file into your computer: make a directorydownload the "docker-compose.yml" file into this directoryrun "docker-compose up" in terminalgo to the jupyterlab: "http://192.168.99.102:10000"set the passwordlogin success!commands: docker-compose start…

0 Comments

jupyter notebook show enviornment

1. Anaconda version: my experience is only install nb_conda is enough 2. for normal pyhton version, you need to install ipykernel in each enviornment. (Notice: following code is example for…

0 Comments

The easiest restapi for Django

pip install djangorestframework In your setting file, add the "rest_framework": Create two files in your app: api/urls.py : define the url api/views.py: define the function In url.py:  In views.py: You…

0 Comments

Install bokeh

Install nodejs conda install -c conda-forge nodejs install jupyter lab conda install -c conda-forge jupyterlab https://github.com/jupyterlab/jupyterlab install jupyter lab: jupyter labextension install jupyter labextension list install bokeh plugin for jupyter…

0 Comments

the useful plugins for new linux installation

install virtualenvironment: http://docs.python-guide.org/en/latest/dev/virtualenvs/ Install open terminal here: sudo apt-get install nautilus-open-terminal nautilus -q install notebook extenstion pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user https://github.com/ipython-contrib/jupyter_contrib_nbextensions

0 Comments