jupyter-notebook

Jupyter notebook does not launch (ImportError: DLL load failed while importing)

冷暖自知 提交于 2021-01-24 08:54:52
问题 Recently my jupyter notebook stopped launching. When I try the command jupyter notebook from anaconda prompt but it gives error Traceback (most recent call last): File "C:\Users\Dell\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in from notebook.notebookapp import main File "C:\Users\Dell\anaconda3\lib\site-packages\notebook\notebookapp.py", line 51, in from zmq.eventloop import ioloop File "C:\Users\Dell\anaconda3\lib\site-packages\zmq_ init _.py", line 50, in from zmq import

Jupyter Notebook Kernel busy all the time

女生的网名这么多〃 提交于 2021-01-24 08:37:44
问题 I have instaled anaconda and python works fine in Sypder , IPython etc . However I am not able to run python notebook. Kernel gets created , it also connects but it shows the dark circle busy symbol throughout . There is no problem with the firewall or antivirus . I have tried by disabling both . I am also not able to open python terminal from notebook there is some powershell error. Can anyone suggest something ? Edit 1 : Added the snapshot and the log Log Anaconda Prompt : (base) C:\Users

InvalidArchiveError when executing conda install notebook

本秂侑毒 提交于 2021-01-22 09:19:53
问题 I have conda 4.8.1 running on windows 10 enterprise edition and it is showing me following error whenever I try to install notebook. InvalidArchiveError("Error with archive D:\\Miniconda3\\pkgs\\notebook-6.0.2-py37_0ujelie94\\pkg-notebook-6.0.2-py37_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nCan't create '\\\\?\\D:\\Miniconda3\\pkgs\\notebook-6.0.2-py37_0\\Lib\\site-packages\\notebook\\static\\components\\MathJax\\extensions\

Import data frame from one Jupyter Notebook file to another

依然范特西╮ 提交于 2021-01-22 03:38:46
问题 I have 3 separate jupyter notebook files that deal with separate data frames. I clean and manipulate the data in these notebooks for each df. Is there a way to reference the cleaned up/final data in a separate notebook? My concern is that if I work on all 3 dfs in one notebook and then do more with it after (merge/join), it will be a mile long. I also don't want to re-write a bunch of code just to get data ready for use in my new notebook. 回答1: If you are using pandas data frames then one

Failed to start the kernel on jupyter notebook

天涯浪子 提交于 2021-01-21 08:49:07
问题 I have python versions 3.6.5_1 and 3.7.0 installed via Homebrew. jupyter needs python 3.6 for launching. It wouldn't start if I switch to python 3.7 . After launching, it fails to start the kernel. Giving this error: Traceback (most recent call last): File "/usr/local/Cellar/jupyter/1.0.0_4/libexec/vendor/lib/python3.6/site-packages/tornado/web.py", line 1543, in _execute result = yield result File "/usr/local/Cellar/jupyter/1.0.0_4/libexec/vendor/lib/python3.6/site-packages/tornado/gen.py",

Jupyter Notebook - Cannot Connect to Kernel

让人想犯罪 __ 提交于 2021-01-21 06:50:12
问题 I've tried installing jupyter notebook using pip3 install jupyter. Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. See screenshot below Attaching my requirements.txt file, also i'm on Python version 3.6.8. Jupyter version is 4.4.0 with notebook version 5.7.4. Where did i go wrong here and how can i fix this? Thanks! attrs==18.2.0 backcall==0.1.0 bleach==3.1.0 colorama==0.4.1 cycler==0.10.0 decorator==4.3.2 defusedxml==0.5.0 entrypoints==0.3

How to run nbconvert on notebook in google colaboratory

断了今生、忘了曾经 提交于 2021-01-21 05:19:42
问题 I have a simple jupyter notebook, say foo.ipynb . I wish simply to run nbconvert in the usual way: on my local machine I would execute !jupyter nbconvert foo.ipynb in the notebook itself, or jupyter notebook foo.ipynb in a shell. On Google Colaboratory, this does not work. Of course this is because foo.ipynb is not running locally on the drive, but the usual methods to connect Drive and Colab are not working in this case. Question: is running nbconvert on a Colab notebook possible from within

How to select current cell with JavaScript in Jupyter?

时间秒杀一切 提交于 2021-01-21 05:09:22
问题 I have a notebook cell containing JavaScript code, and I would like the code to select this particular cell. Unfortunately, the behavior of get_selected_cell depends on whether I execute the cell in place, or execute and select the cell below. Example: %%javascript var cell = Jupyter.notebook.get_selected_cell(); console.log(Jupyter.notebook.find_cell_index(cell)); When executing this cell, the console output will be different whether I execute with Ctrl+Enter or Shift+Enter . In one case it

How to select current cell with JavaScript in Jupyter?

拈花ヽ惹草 提交于 2021-01-21 05:06:07
问题 I have a notebook cell containing JavaScript code, and I would like the code to select this particular cell. Unfortunately, the behavior of get_selected_cell depends on whether I execute the cell in place, or execute and select the cell below. Example: %%javascript var cell = Jupyter.notebook.get_selected_cell(); console.log(Jupyter.notebook.find_cell_index(cell)); When executing this cell, the console output will be different whether I execute with Ctrl+Enter or Shift+Enter . In one case it

Image in Jupyter Notebook ipynb doesn't show up in GitHub private repo but the same code works with public repo

女生的网名这么多〃 提交于 2021-01-21 04:41:05
问题 I have a Jupyter Notebook .ipynb file in my GitHub repository. It is supposed to show an image via the following markdown code: ![image](image.png) The image does show up when the repository is public. However, when the repository is set to private, only the alternative caption "image" is visible and the image doesn't load. If I right-click on it and select "View Image", the image loads fine. The issue also doesn't exist for .md Markdown files: the same line above works for public and private