To use Python in it's full capacity, we have to install the python SDK and then we will install the Jupyter notebook via pip.
To install the Jupiter notebooks use the following command, given you already installed the Python SDK:
julienandonovs-MacBook-Pro:~ root# pip3 install click jupyter flask SQLAlchemy flask-sqlalchemy requests configparser pytest Collecting click Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB) |████████████████████████████████| 92kB 2.3MB/s Collecting jupyter Downloading https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl Collecting flask Downloading https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94kB) |████████████████████████████████| 102kB 2.1MB/s Collecting SQLAlchemy Downloading https://files.pythonhosted.org/packages/6c/bf/dc1277e7a48390c5f248b9437caa3ab440402c3a95b4e5bedd63ad11ce2b/SQLAlchemy-1.4.7-cp38-cp38-macosx_10_14_x86_64.whl (1.5MB) |████████████████████████████████| 1.5MB 1.7MB/s Collecting flask-sqlalchemy Downloading https://files.pythonhosted.org/packages/26/2c/9088b6bd95bca539230bbe9ad446737ed391aab9a83aff403e18dded3e75/Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl Collecting requests Downloading https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl (61kB) |████████████████████████████████| 61kB 2.8MB/s ************************************************ Building wheels for collected packages: pandocfilters, pyrsistent Building wheel for pandocfilters (setup.py) ... done Created wheel for pandocfilters: filename=pandocfilters-1.4.3-cp38-none-any.whl size=7994 sha256=71f80f9ffc684c6505926cc74096a2ca025ee1589b8a95305f0c8c4d22109dd5 Stored in directory: /var/root/Library/Caches/pip/wheels/93/9a/79/b2c3567908fd6209e4674ca23d9fcf005aae5fe89148913727 Building wheel for pyrsistent (setup.py) ... done Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp38-cp38-macosx_10_14_6_x86_64.whl size=55882 sha256=3ea1f68c7d5288a4b6f58c00753850cd21863cfb770f651019fb1a58a9ef0c92 Stored in directory: /var/root/Library/Caches/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc Successfully built pandocfilters pyrsistent Installing collected packages: click, wcwidth, prompt-toolkit, python-dateutil, pyzmq, ipython-genutils, traitlets, tornado, jupyter-core, jupyter-client, appnope, pygments, pickleshare, parso, jedi, ptyprocess, pexpect, decorator, backcall, ipython, ipykernel, jupyter-console, prometheus-client, MarkupSafe, Jinja2, testpath, pandocfilters, entrypoints, defusedxml, pyparsing, packaging, webencodings, bleach, async-generator, nest-asyncio, attrs, pyrsistent, jsonschema, nbformat, nbclient, jupyterlab-pygments, mistune, nbconvert, pycparser, cffi, argon2-cffi, terminado, Send2Trash, notebook, qtpy, qtconsole, widgetsnbextension, jupyterlab-widgets, ipywidgets, jupyter, itsdangerous, Werkzeug, flask, greenlet, SQLAlchemy, flask-sqlalchemy, chardet, idna, urllib3, certifi, requests, configparser, iniconfig, py, pluggy, toml, pytest Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 SQLAlchemy-1.4.7 Send2Trash-1.5.0 Werkzeug-1.0.1 appnope-0.1.2 argon2-cffi-20.1.0 async-generator-1.10 attrs-20.3.0 backcall-0.2.0 bleach-3.3.0 certifi-2020.12.5 cffi-1.14.5 chardet-4.0.0 click-7.1.2 configparser-5.0.2 decorator-5.0.6 defusedxml-0.7.1 entrypoints-0.3 flask-1.1.2 flask-sqlalchemy-2.5.1 greenlet-1.0.0 idna-2.10 iniconfig-1.1.1 ipykernel-5.5.3 ipython-7.22.0 ipython-genutils-0.2.0 ipywidgets-7.6.3 itsdangerous-1.1.0 jedi-0.18.0 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-6.1.12 jupyter-console-6.4.0 jupyter-core-4.7.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.0 mistune-0.8.4 nbclient-0.5.3 nbconvert-6.0.7 nbformat-5.1.3 nest-asyncio-1.5.1 notebook-6.3.0 packaging-20.9 pandocfilters-1.4.3 parso-0.8.2 pexpect-4.8.0 pickleshare-0.7.5 pluggy-0.13.1 prometheus-client-0.10.1 prompt-toolkit-3.0.18 ptyprocess-0.7.0 py-1.10.0 pycparser-2.20 pygments-2.8.1 pyparsing-2.4.7 pyrsistent-0.17.3 pytest-6.2.3 python-dateutil-2.8.1 pyzmq-22.0.3 qtconsole-5.0.3 qtpy-1.9.0 requests-2.25.1 terminado-0.9.4 testpath-0.4.4 toml-0.10.2 tornado-6.1 traitlets-5.0.5 urllib3-1.26.4 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.1
Python has couple packet managers:
We can update all packages using the conda as follows:
Update Anaconda
(conda prompt)$ conda update --all
We can install a specific library as follows:
Install a library
conda install -c conda-forge ipyml conda install nodejs jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter labextension install jupyter-matplotlib
To update the pip, use the following command:
Update PIP
julienandonovs-MacBook-Pro:~ root# pip3 install --upgrade pip Collecting pip Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB) |████████████████████████████████| 1.5MB 2.2MB/s Installing collected packages: pip Found existing installation: pip 19.2.3 Uninstalling pip-19.2.3: Successfully uninstalled pip-19.2.3 Successfully installed pip-21.0.1 julienandonovs-MacBook-Pro:~ root#