Setting up Dash Plotly in Jupyter

preview_player
Показать описание
Set up instructions shared below. In this tutorial, we will be learning how to install, setup, and use Dash and Plotly inside JupyterLab. You will also learn to set up your own virtual environment and get access to documentation for a deeper dive. According to their official documentation, "JupyterLab will eventually replace the classic Jupyter Notebook." So let's get started!

View my book - The Book of Dash:

Setup Instructions:

More about JupyterDash:

JuyterLab Setup for Plotly:

Python Libraries:

Video Layout:
00:00 - What we will cover
01:54 - Setting up our virtual environment
04:21 - Installing our libraries & JupyterLab
09:45 - Installing JupyterDash
13:33 - Plotly extensions
15:50 - Working with JupyterLab
21:36 - JupyterDash on JupyterLab vs Pycharm
Рекомендации по теме
Комментарии
Автор

Hi friends, don't forget to check if you have Node.js before you run Jupyter Lab build.
Thank you 💛

CharmingData
Автор

This is a brilliant video, very comprehensive with clear step by step guidance. i can follow through and complete the installation. I realized all packages must be in same folder after i made a mistake in creating a new folder for jupyterlab causing errors in launching a new notebook! Thank you very much

hazelyip
Автор

Awesome video. Trying to learn Dash and your video was by far the best video I came across. I was able to follow with ease and appreciate your concise and expert explanations.

vhodgesosu
Автор

Thanks a lot man, I don't even know how much time I spent trying to install those extensions

BRuuhGR
Автор

Thank you! Really helpful, well structured video. It works!! This will come in handy.

stefansen
Автор

That's amazing and very helpful. Thank you so much for your work!! Great job. Best video for learning plotly/dash

shinemee
Автор

Thank you for your video. it help me a lot to use Dash and to improve my data science skill.

tahaelkarafli
Автор

Awesome Video, Your tutorials are very organized and have complete information . Thanks Keep posting more videos brother

praveengovi
Автор

Many Mac users can use this command to have homebrew manage Node: brew install node :)

LewiUberg
Автор

Can you tell me how to do the setup dash plotly in jupyter notebook instead of jupyter lab

prernapandey
Автор

Hey Adam. How to read read an excel file you uploaded as a dataset in Jupyter lab.

It’s straightforward in Jupyter notebook but in lab, even if I read the same path for the dataframe, it says bad zip error

sriramkrishnan
Автор

hi Adam
happy to see that we can use dash via jupyter, I would like to know what script to use if I want to save my app as html? So that i can share with someone else.

meilingjin
Автор

Thanks for sharing this. I am new to develop Dash. And my question is why we should use a virtual environment instead of developing app directly in the jupyter notebook? Thanks!

shaokangtong
Автор

Hi! Thanks for everything. I wonder ask you something. If I install all the libraries in anaconda I don't need to do what you say on the video? Thank you again

stuckdata
Автор

Hi all,
I am struggling trying to follow with this tutorial. When I am installing pandas, I get the following error, which aborts the build process:
clang: _configtest.c
_configtest.c:1:10: fatal error: 'endian.h' file not found


I already have anaconda files installed on my Mac but I wanted to install a version in virtual environment to see how that would work for future projects.
I also tried to copy endian.h into my /urs/local/include folder but I still get the same error.
Are there any remedies or workaround with this issue that anyone may have come across?

mmk
Автор

for 6:20 we can just type "pip install numpy" without including version. The available current version is automatically downloaded.

sushantparajuli
Автор

Hi! do you know how to execute plotly dash with debug model in jupyterlab? it shows error as following when I set debug=True.

An exception has occurred, use %tb to see the full traceback.

SystemExit: 1
UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

pierrehsieh
Автор

Hi Sir, this video is really helping me. During installing the numpy in env folder, I am getting error saying that "WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
ERROR: Could not find a version that satisfies the requirement numpy==1.18.1 (from versions: none)
ERROR: No matching distribution found for numpy==1.18.1
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Can you please help with this ASAP?

ilisandhya
Автор

Hello! I am new to Dash and your youtube videos have been a lifeline for me! Such great content!!! I have installed Node.js and am trying to run jupyter lab build but am getting this ModuleNotFoundError:


Traceback (most recent call last):
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 9, in <module>
import sqlite3
File "C:\Users\lexil\anaconda3\lib\sqlite3\__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "C:\Users\lexil\anaconda3\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\server.py", line 20, in <module>
from notebook.notebookapp import aliases, flags, NotebookApp as ServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\notebook\notebookapp.py", line 88, in <module>
from import SessionManager
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 12, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\lexil\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\lexil\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\lexil\heroku\Testing\DbApp\env\Scripts\jupyter-lab.EXE\__main__.py", line 5, in <module>
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab\labapp.py", line 14, in <module>
from jupyterlab_server import slugify, WORKSPACE_EXTENSION
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\__init__.py", line 4, in <module>
from .app import LabServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\app.py", line 9, in <module>
from .server import ServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\server.py", line 26, in <module>
from jupyter_server.base.handlers import ( # noqa
ModuleNotFoundError: No module named 'jupyter_server'



I have followed your instructions verbatim and do not know what the issue is...do you know why this is happening?

alexismarcionette
Автор

Thanks for the video Adam, it's exactly what I've been looking for, however, after following the instructions I then get the error 'ModuleNotFoundError: No module named plotly' as soon as I try to create the plotly graph in Jupyter. I'm on a Windows machine and I used Anaconda Prompt instead of Command Prompt, so I'm not sure if this is causing the issue as I'm the env is definitely active and I'm in the same directory as it. Do you have any ideas why I'm seeing this error? Any help would be appreciated

tomprice