jupyter-lab

Getting DLL error with 'jupyter lab' command in Anaconda Installation

柔情痞子 提交于 2019-12-13 12:40:15
问题 Getting DLL error with 'jupyter lab' command in Anaconda Installation: Details for system: conda 4.5.11 Python 3.7.0 jupyter 4.4.0 Height of weirdness is that I am able to launch jupyter lab from Anaconda Navigator, but ' jupyter lab ' is not working and throwing below exception: Traceback (most recent call last): File "c:\ml\installed_tools\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\ml\installed_tools\anaconda3\lib\runpy.py", line 85, in _run

Jupyter Lab - Kernel stays “Reconnecting”

自闭症网瘾萝莉.ら 提交于 2019-12-13 04:34:40
问题 I'm currently dealing with some issues with Jupyter Lab. Indeed, I was working on Jupyter Lab, everything was ok at this time, until I had to save my work and reboot. Then Jupyter stops working (either Jupyter Lab and the classic version Jupyter Notebook). I've tried to fix the problem by many solutions that I've found in other issues, listed below : tried to install the last version of Python (3.7) tried to uninstall Jupyter Lab and Notebook tried to remove my miniconda install from the home

Module not found: Error can't resolve 'child_process', how to fix?

两盒软妹~` 提交于 2019-12-13 02:54:00
问题 I'm trying to create a JupyterLab extension, it uses typescript. I've successfully added the package "@types/node" allowing me to use packages such as 'require('http')'. But as soon as I try to use child process, using 'require("child_process")' I get the following error when trying to build the extension. ModuleNotFoundError: Module not found: Error: Can't resolve 'child_process' in '/home/fionn/anaconda3/envs/jupyterlab-ext/share/jupyter/lab/staging/node_modules/jupyerlab_xkdc/lib' at

Sidebar disappearing Jupyter lab

倾然丶 夕夏残阳落幕 提交于 2019-12-11 18:44:19
问题 here is the screenshot of the error I'm getting in my Jupyter lab, when I change the theme to the dark one everything returns to normal, but when I'm back to my default theme, the Sidebar items are invisible. Thanks for your help. 来源: https://stackoverflow.com/questions/54856540/sidebar-disappearing-jupyter-lab

fast way to display video from arrays in jupyter-lab

最后都变了- 提交于 2019-12-11 17:56:42
问题 I'm trying to display a video from some arrays in an notebook in jupyter-lab. The arrays are produced at runtime. What method to display the images can deliver a (relatively) high framerate? Using matplotlib and imshow is a bit slow. The pictures are around 1.8 megapixel large. Above some very small example to visualize what I want to achieve. while(True): #should run at least 30 times per second array=get_image() #returns RGBA numpy array show_frame(array) #function I search for 回答1: The

Jupyter command `jupyter-lab` not found

拈花ヽ惹草 提交于 2019-12-11 03:25:49
问题 I have tried to install jupyter lab on my Kubuntu machine. If I install jupyter lab with 'pip3 install jupyter jupyterlab' the command 'jupyter notebook' works completly fine. But if I try to run 'jupyter lab' every time I get the message: Traceback (most recent call last): File "/usr/local/bin/jupyter", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/dist-packages/jupyter_core/command.py", line 230, in main command = _jupyter_abspath(subcommand) File "/usr/local/lib

Dask Distributed client takes to long to initialize in jupyter lab

妖精的绣舞 提交于 2019-12-11 02:46:21
问题 Trying to initialize a client with local cluster in Jupyter lab but hangs. This behaviour happens for python 3.5 and jupyter lab 0.35. import dask.dataframe as dd from dask import delayed from distributed import Client from distributed import LocalCluster import pandas as pd import numpy as np import json cluster = LocalCluster() client = Cluster(cluster) client versions of the tools : Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright",

How to edit a JupyterLab theme?

老子叫甜甜 提交于 2019-12-11 02:34:42
问题 I'd like to edit the JupyterLab Dark Theme, so that axis labels on inline plots can be clearly read. Example of the problem: To remedy this problem I'd like to change the background colour of output cells which contain an image to a shade of grey. I used Chrome DevTools to insepect the webpage and found the class class="p-Widget jp-RenderedImage jp-mod-trusted jp-OutputArea-output" . I've noted that I can workaround this problem by using the JupyterLab Light Theme or by using a dark plotting

pandas.read_clipboard from cloud-hosted jupyter?

孤街浪徒 提交于 2019-12-10 15:38:41
问题 I am running a Data8 instance of JupyterHub running JupyterLab on a server, and pd.read_clipboard() does not seem to work. I see the same problem in google colab. import pandas as pd pd.read_clipboard() errors out like so: --------------------------------------------------------------------------- PyperclipException Traceback (most recent call last) <ipython-input-2-8cbad928c47b> in <module>() ----> 1 pd.read_clipboard() /opt/conda/lib/python3.6/site-packages/pandas/io/clipboards.py in read

Using plot.ly in jupyterlab - graphics does not show

ぐ巨炮叔叔 提交于 2019-12-08 19:38:05
问题 I want to draw 3D PCA with pylot ( Scatter3d ), however the graphics is not showing up in jupyterlab only in jupyter-notebook . I've installed the 'jupyterlab_plotly' package and I was able to create an 'jupyterlab_plotly.Plotly object', but I couldn't figure out how to actually include/draw the graphics in the notebook. I wonder if someone could post a working example of drawing figures in jupyterlab with pyplot. (The example at the project's git site - https://github.com/gnestor/jupyterlab