Hi friends, don't forget to check if you have Node.js before you run Jupyter Lab build. 👉If you benefitted from these tutorials & would like to show your appreciation & support the existence of more tutorials: www.patreon.com/charmingdata Thank you 💛
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
You welcome, Bruno. If you'd like, I post Dash plotly tips and tricks on my patreon. It would be great to have you with me there. www.patreon.com/charmingdata I'm glad this tutorial was helpful. If you have any other questions in the future, feel free to let me know. Good luck with Dash :)
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.
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
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!
Hi Shaokang, You can develop an app directly in Jupyter, but you still need to install the necessary libraries like Dash, Pandas somewhere. Jupyter is just a tool with which to write code. You have to pip install, or conda install, the needed libraries somewhere. If you don't use virtual environment, the libraries would change every time you install a new version of the library in the future. If you do that, your projects/apps are more likely to break.
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.
Hi Meiling, see if this post answers your question. stackoverflow.com/questions/60097577/how-to-export-a-plotly-dashboard-app-into-a-html-standalone-file-to-share-with-t
Hi, thank you a lot for this vede. I have installed python3.10. When I tried to install those libraries nympy , plotly as said in the video I had problems. I succeed only to install pandas. Please help!
@@CharmingData thank you a lot. Would you tell me please which version of python plotly dash you use. Thus i will avoide problems of version. Thank you for help
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
if you have everything installed in Anaconda and you know how to run jupyterlab within that virtual environment, then you don't need to do what I say in the video.
I am getting RuntimeError: The current Numpy installation ('C:\\Users\\asus\\projects\\Plotly\\env\\lib\\site-packages\ umpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime.
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
HI Tom, I'm not sure. But I had another subscriber that told me the same thing. He was using Anaconda Prompt and didnt' work for him. I'm not sure if Anaconda is the problem, though. Have you tried starting from scratch with the command prompt?
@@CharmingData Yeah I've tried the command prompt but my pip install seems to quite temperamental in that window, so I'll keep seeing "ERROR: Command errored out with exit status 1" if I try to install the specific packages from your Google Drive document and I see the error regardless of the version when I try to install dash, even though I've already installed the dash package on my system. Have you seen this error before?
Ok so I've managed to get it working (needed to change python version and numpy version), but if I follow all of your steps in the Google doc and then I wanted to change to a different version or numpy or if I wanted to install another package, is there an easy way of doing this? As when I tried I was getting some error about jupyter_lab.extensions and so had to delete the env folder and start all over again which is a bit of a pain. I also had another question of how to import and export requirements.txt/environment.yml files?
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 C:\Users\Administrator\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3333: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D. warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
Hi Emre, yes, sometimes problems arise with JupyterLab but it's hard to say what it is without looking at the code or the full process. If you're interested, I offer very low-cost consultation as part of all-access members. See here: www.patreon.com/charmingdata
Hi, Adam. I live in Brazil and I am trying to aquire knowledge in the use of Data Science tools. I realized that it is possible to use Dash in Jupyter Notebook, but I was following your instructions to configure the virtual environment and came up with this problem: I am new on this stuff and because of path problems I ended up installing Python versions in many different locations... Can you help me, please? And thank you for you videos! Tehey are awesome!
Odd! I pasted it. There it goes again: Unable to create process using '"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\python3.8.exe" -m venv env'
@@CharmingData Adam, I was following env set up instructions for windows, in the very begining. I have all libraries installed... But it is ok. I am following your videos so far. I use sublime text for the code. Thank you for your kindness. You are a great professional!
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?
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/ Could not fetch URL pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 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. Could not fetch URL pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping " Can you please help with this ASAP?
Hi Bobby. It's better to work with a virtual environment because you can install all your packages to that environment. If you don't use a virtual environment, all your packages would get installed globally, and every time you install a new version of a package globally, the old version gets erased. But some apps that you create might only work with the old version of a package. If you kept everything in a virtual environment, you would have access to those specific packages you installed with those specific versions.
@@CharmingData Ah I see But if we work with VE, is that will absorb more ram or any source rather than a normal environment (globally version) or not ?
Hi Adam - the popout when I change the mode to 'jupyterlab' does not seem to come out. Inline and external modes are working correctly, but there is no tab (with the title 'Dash (port 8050)') that appears after doing this. The code just runs with no output. Is there a view setting that I might be missing? All extensions seem to be installed correctly.
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 otebook\services\sessions\sessionmanager.py", line 9, in import sqlite3 File "C:\Users\lexil\anaconda3\lib\sqlite3\__init__.py", line 23, in from sqlite3.dbapi2 import * File "C:\Users\lexil\anaconda3\lib\sqlite3\dbapi2.py", line 27, in 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 from notebook.notebookapp import aliases, flags, NotebookApp as ServerApp File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages otebook otebookapp.py", line 88, in from .services.sessions.sessionmanager import SessionManager File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages otebook\services\sessions\sessionmanager.py", line 12, in 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 unpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\lexil\anaconda3\lib unpy.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 File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab\labapp.py", line 14, in 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 from .app import LabServerApp File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\app.py", line 9, in from .server import ServerApp File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\server.py", line 26, in 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?
@@alexismarcionette4280 That's weird. That shouldn't happen. Feel free to send me the python or jupyter files you're using, so I can take a deeper look. info@charmingdata.org Adam
i have an error after building the jupyterlab: [LabBuildApp] WARNING | The extension "jupyterlab-dash" is outdated. .......... RuntimeError: JupyterLab failed to build
Hi, great video! However, I get the following message after typing "jupyter lab build " in the prompt: "[LabBuildApp] WARNING | The extension "jupyterlab-dash" is outdated." and then it says that "Build failed." Do you know how I can solve this?
Hi @SirraTV, I'm not sure. I'll try to do this today on my computer and see if I get an error. What jupyterlab version did you install? And which jupyterlab-Dash did you install? And what operating system are you using (Windows, Mac, Linux)?
Hi, you're right. It doesn't work with Jupyterlab version higher than 3.0. See my comments in yellow here: drive.google.com/file/d/1ZRtQUie0y2k3dXz_MM8s29WQaSrM9bDn/view?usp=sharing I installed jupyterlab==2.2.9 and rebuilt everything and it worked.
@@CharmingData thank i will support your patreon:) the reason i am asking this question is becuase i run one of your previous codes, however, the I get the following message " Environment: production WARNING: this is a development server. Do not use it in a production deployment. Use a production WSGI server instead. Debug mode: off Running on 555.5.5:3000/ (but i cant click on the url to view the code) how can i view the app?
@@luirm6946 Hi @Lui. it should still work. Can you copy-paste the 555.5.5:3000/ into your chrome or Mozilla browser and see if it works? Thank you for considering to support my channel and mission.
@@CharmingData well the message was in german but it said: "cannot find the command "py". Doublecheck if it is written correctly." But it worked when i typed "python" instead of "py". so thats maybe noteworthy. Thanks for the tutorial btw
Hi friends, don't forget to check if you have Node.js before you run Jupyter Lab build.
👉If you benefitted from these tutorials & would like to show your appreciation & support the existence of more tutorials: www.patreon.com/charmingdata
Thank you 💛
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
I'm glad it worked out for you, Hazel.
Thanks a lot man, I don't even know how much time I spent trying to install those extensions
You welcome, Bruno. If you'd like, I post Dash plotly tips and tricks on my patreon. It would be great to have you with me there.
www.patreon.com/charmingdata
I'm glad this tutorial was helpful. If you have any other questions in the future, feel free to let me know. Good luck with Dash :)
Awesome Video, Your tutorials are very organized and have complete information . Thanks Keep posting more videos brother
Thank you Praveen. I hope you learn a lot
Is any video teaches how to build the dashboard in poorly dash
Charming Data you are always welcome
@@praveengovi I'm sorry. What do you mean?
Charming Data - Is any video available in plotly Dash , How we can integrate reports and build dashboard
Thank you for your video. it help me a lot to use Dash and to improve my data science skill.
I'm happy for you. Thanks for watching, @Taha
Excellent work. Thank you very much!
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.
You're welcome. I'm glad this tutorial helped you.
Thank you! Really helpful, well structured video. It works!! This will come in handy.
You're welcome Stefansen. JupyterDash is great. I think you'll really like using it.
big help! thank you so much!
That's amazing and very helpful. Thank you so much for your work!! Great job. Best video for learning plotly/dash
Thank you Shreya
Thank you. this is awesome!
Thank you Bro
Was very helpful!! Thank you :)
Woo hoo!
Can you tell me how to do the setup dash plotly in jupyter notebook instead of jupyter lab
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
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!
Hi Shaokang, You can develop an app directly in Jupyter, but you still need to install the necessary libraries like Dash, Pandas somewhere. Jupyter is just a tool with which to write code. You have to pip install, or conda install, the needed libraries somewhere. If you don't use virtual environment, the libraries would change every time you install a new version of the library in the future. If you do that, your projects/apps are more likely to break.
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.
Hi Meiling,
see if this post answers your question.
stackoverflow.com/questions/60097577/how-to-export-a-plotly-dashboard-app-into-a-html-standalone-file-to-share-with-t
Hi, thank you a lot for this vede. I have installed python3.10. When I tried to install those libraries nympy , plotly as said in the video I had problems. I succeed only to install pandas. Please help!
What problems. I suggest using an earlier version of python. Many libraries still don't work with python 3.10
@@CharmingData thank you a lot. Would you tell me please which version of python plotly dash you use. Thus i will avoide problems of version. Thank you for help
@@maatouknadia4824 dash 2.0 and python 3.8
for 6:20 we can just type "pip install numpy" without including version. The available current version is automatically downloaded.
got it. Thank you Sushant :)
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
if you have everything installed in Anaconda and you know how to run jupyterlab within that virtual environment, then you don't need to do what I say in the video.
I am getting
RuntimeError: The current Numpy installation ('C:\\Users\\asus\\projects\\Plotly\\env\\lib\\site-packages\
umpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime.
I'm sorry @tathagat. I've never seen that error. Try to google it
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
HI Tom, I'm not sure. But I had another subscriber that told me the same thing. He was using Anaconda Prompt and didnt' work for him. I'm not sure if Anaconda is the problem, though. Have you tried starting from scratch with the command prompt?
@@CharmingData Yeah I've tried the command prompt but my pip install seems to quite temperamental in that window, so I'll keep seeing "ERROR: Command errored out with exit status 1" if I try to install the specific packages from your Google Drive document and I see the error regardless of the version when I try to install dash, even though I've already installed the dash package on my system. Have you seen this error before?
Ok so I've managed to get it working (needed to change python version and numpy version), but if I follow all of your steps in the Google doc and then I wanted to change to a different version or numpy or if I wanted to install another package, is there an easy way of doing this? As when I tried I was getting some error about jupyter_lab.extensions and so had to delete the env folder and start all over again which is a bit of a pain. I also had another question of how to import and export requirements.txt/environment.yml files?
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
C:\Users\Administrator\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3333: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
Hello, Thank you for all but ı have some problem about my jupyter notebook. When ı started code this is running but not showing anything please help
Hi Emre, yes, sometimes problems arise with JupyterLab but it's hard to say what it is without looking at the code or the full process. If you're interested, I offer very low-cost consultation as part of all-access members. See here: www.patreon.com/charmingdata
Hi, Adam. I live in Brazil and I am trying to aquire knowledge in the use of Data Science tools. I realized that it is possible to use Dash in Jupyter Notebook, but I was following your instructions to configure the virtual environment and came up with this problem:
I am new on this stuff and because of path problems I ended up installing Python versions in many different locations...
Can you help me, please?
And thank you for you videos! Tehey are awesome!
Hi Elaine, I can't see anything in the problem section. Can you please copy-paste the error message again.
Odd! I pasted it. There it goes again:
Unable to create process using '"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\python3.8.exe" -m venv env'
Elaine, at what point of the set-up do you get this error?
@@CharmingData Adam, I was following env set up instructions for windows, in the very begining. I have all libraries installed... But it is ok. I am following your videos so far. I use sublime text for the code. Thank you for your kindness. You are a great professional!
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?
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/
Could not fetch URL pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
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.
Could not fetch URL pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping "
Can you please help with this ASAP?
Does this work similarly using a Jupyter Notebook in VS Code?
it should yes.
Hi Adam, I have a question
Why do we need to create a virtual environment?
thank you
Hi Bobby. It's better to work with a virtual environment because you can install all your packages to that environment. If you don't use a virtual environment, all your packages would get installed globally, and every time you install a new version of a package globally, the old version gets erased.
But some apps that you create might only work with the old version of a package. If you kept everything in a virtual environment, you would have access to those specific packages you installed with those specific versions.
@@CharmingData Ah I see
But if we work with VE, is that will absorb more ram or any source rather than a normal environment (globally version) or not ?
@@bobbyreynaldo7266 Yes it does. It takes up more disk space because you're installing a set of libraries for each VE.
Hi Adam - the popout when I change the mode to 'jupyterlab' does not seem to come out. Inline and external modes are working correctly, but there is no tab (with the title 'Dash (port 8050)') that appears after doing this. The code just runs with no output. Is there a view setting that I might be missing? All extensions seem to be installed correctly.
Can you send me the jupyter file that you created. I'll try to replicate on my computer
@@CharmingData
import plotly.express as px
from jupyter_dash import JupyterDash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
# Load Data
df = px.data.tips()
# Build App
app = JupyterDash(__name__)
app.layout = html.Div([
html.H1("JupyterDash Demo"),
dcc.Graph(id='graph'),
html.Label([
"colorscale",
dcc.Dropdown(
id='colorscale-dropdown', clearable=False,
value='plasma', options=[
{'label': c, 'value': c}
for c in px.colors.named_colorscales()
])
]),
])
# Define callback to update graph
@app.callback(
Output('graph', 'figure'),
[Input("colorscale-dropdown", "value")]
)
def update_figure(colorscale):
return px.scatter(
df, x="total_bill", y="tip", color="size",
color_continuous_scale=colorscale,
render_mode="webgl", title="Tips"
)
# Run app and display result inline in the notebook
app.run_server(mode='jupyterlab')
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
otebook\services\sessions\sessionmanager.py", line 9, in
import sqlite3
File "C:\Users\lexil\anaconda3\lib\sqlite3\__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "C:\Users\lexil\anaconda3\lib\sqlite3\dbapi2.py", line 27, in
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
from notebook.notebookapp import aliases, flags, NotebookApp as ServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages
otebook
otebookapp.py", line 88, in
from .services.sessions.sessionmanager import SessionManager
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages
otebook\services\sessions\sessionmanager.py", line 12, in
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
unpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\lexil\anaconda3\lib
unpy.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
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab\labapp.py", line 14, in
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
from .app import LabServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\app.py", line 9, in
from .server import ServerApp
File "c:\users\lexil\heroku\testing\dbapp\env\lib\site-packages\jupyterlab_server\server.py", line 26, in
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?
I'm sorry Alexis I'm not sure. What do you have in your notebookapp.py", line 88,?
@@CharmingData I have the following line of code:
from .services.sessions.sessionmanager import SessionManager
@@alexismarcionette4280 That's weird. That shouldn't happen. Feel free to send me the python or jupyter files you're using, so I can take a deeper look. info@charmingdata.org
Adam
@@CharmingData Sent! Appreciate the offer!!!
I would have loved you to have cut n paste the Juypter Lab code into a Python IDE like Pycharm
I know :) That would have made things a lot easier.
Many Mac users can use this command to have homebrew manage Node: brew install node :)
i have an error after building the jupyterlab:
[LabBuildApp] WARNING | The extension "jupyterlab-dash" is outdated.
..........
RuntimeError: JupyterLab failed to build
What version of jupyterlab are you using?
@@CharmingData i see in Anaconda's interface that my Jupiterlab is vesion 2.2.6
@@congminhau504 it should work. What version of jupyterlab-dash are you installing?
everytime I want to open jupyterlab, I would have to go through cd into the right folder, activate the environment before "jupyter lab"?
Yes. I think so. Because if you installed jupyter inside your environment, you have to activate the environment first
Hi, great video! However, I get the following message after typing "jupyter lab build " in the prompt: "[LabBuildApp] WARNING | The extension "jupyterlab-dash" is outdated." and then it says that "Build failed." Do you know how I can solve this?
Hi @SirraTV,
I'm not sure. I'll try to do this today on my computer and see if I get an error.
What jupyterlab version did you install? And which jupyterlab-Dash did you install? And what operating system are you using (Windows, Mac, Linux)?
Hi @Charming Data ,
I have installed jupyterlab version 3.0.5, jupyterlab-dash version 0.1.0a3, and I am operating this on Windows 10.
@@sirraTV ok. Thanks for getting back to me. I'll try to install the same versions today and let you know if I get an error
Hi, you're right. It doesn't work with Jupyterlab version higher than 3.0. See my comments in yellow here: drive.google.com/file/d/1ZRtQUie0y2k3dXz_MM8s29WQaSrM9bDn/view?usp=sharing
I installed jupyterlab==2.2.9 and rebuilt everything and it worked.
Thank you very much@@CharmingData!
will this work in the spyder environment as well?
No. You would have to change the file to a .py. most of my videos are with pycharm so my code would work on spyder as well.
@@CharmingData thank i will support your patreon:) the reason i am asking this question is becuase i run one of your previous codes, however, the I get the following message
" Environment: production
WARNING: this is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Debug mode: off
Running on 555.5.5:3000/ (but i cant click on the url to view the code) how can i view the app?
@@luirm6946 Hi @Lui. it should still work. Can you copy-paste the 555.5.5:3000/ into your chrome or Mozilla browser and see if it works?
Thank you for considering to support my channel and mission.
3:35 when i try this it says it doesnt know the "py" command. any ideas?
Hi @vielleicht, What do you mean "it doesn't know the py command?" What is the error message that you get?
@@CharmingData well the message was in german but it said: "cannot find the command "py". Doublecheck if it is written correctly." But it worked when i typed "python" instead of "py". so thats maybe noteworthy. Thanks for the tutorial btw
@@jobecks5636 hi @vielleicht. I'm Glad it worked out for you. Good luck work future Dashboards. If you have any questions, let me know.
when i try to run "pip install numpy==1.18.1", i get this error : "Can't connect to HTTPS URL because the SSL module is not available.")
I'm sorry @Hanane I've never seen that error. I'm not sure
@@CharmingData You can just type "numpy" current version is automatically download and install
I still get error "Plotly express requires pandas to be installed." eventhough it is installed in the env. Any idea?
@sam did you activate the environment? If you print(pandas.__version__) and you get nothing, you probably didn't install it in the right environment.
Is jupyterlab open source
Yes i think so
any shortcut to install,? your procedure too longggggg
Do I need to set up environments even if I have anaconda?
You don't have to, but it makes it easier to ensure that your apps don't break down as new versions of Dash and Plotly come out.
@@CharmingData thank you
too tedious the installation process, that sucks