jupyter-notebook Questions

9

Solved

I keep on getting error message: Available subcommands: 1.0.0 Jupyter command `jupyter-nbconvert` not found. I've tried to reinstall nbconvert using pip to no use. I've also tried the tip from thi...

10

I ran into this problem when I was trying to import the following libraries and it is giving the error "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index' (unknown location)...

5

Solved

Trying to Launch jupyter notebook from terminal. I am currently on my terminal in the correct folder, and I have python 3.5 installed along with conda. But it is not launching.
Netherlands asked 19/8, 2019 at 2:0

3

Solved

I have a python project in which I have python files and notebooks. I use strict typing in my project but I would like to remove it only on notebooks. I use VScode with setting: "python.analys...
Clyde asked 17/5, 2022 at 8:23

3

I am developing a Python script in a Jupyter Notebook (ipynb file) in Visual Studio Code. Arbitrarily, the "Debug Cell" run option disappears and I have not found a way yet to debug a spe...

4

How can i go to a function definition in Jupyter? I want something like Visual studio's f12, or eclipse's and PyCharm's ctrl+click. I find it hard to believe this does not exist, yet couldn't find ...
Lupine asked 23/11, 2018 at 17:45

4

Solved

By default jupyter notebook inline plots are displayed as png, e.g.: import matplotlib.pyplot as plt %matplotlib inline plt.plot() How can you configure jupyter notebooks to display matplotlib i...
Meill asked 14/4, 2016 at 11:52

2

I defined a python function which run a bash script. Let's say the function is: calc(x,y,z). If I run this function in python with some variables, >>> calc(1,2,3) It generates a C code ...
Pianissimo asked 11/5, 2019 at 21:44

0

I have successfully made several functions that search inputted keywords (they can be comments, codes, markdowns, or raw codes) inside the current jupyter ipynb file and run any cells containing th...
Aronoff asked 13/7 at 14:58

17

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 ...
Cohlier asked 27/8, 2019 at 14:58

2

Solved

Is there a way to specify the output cell where a function should print its output? In my specific case, I have some threads running, each with a logger. The logger output is printed on any running...
Simonasimonds asked 2/7 at 9:5

3

When using the ! shortcut to execute shell commands from a Notebook, how can I respond to subsequent prompts? For example: !read varname Seems to hang the kernel indefinitely and I can't run anoth...
Sweatbox asked 7/2, 2019 at 21:12

2

Solved

I was wondering is there is a good and comprehensive way to debug python code step by step so that I can have a better idea of all the variables involved, their dimensions and values? What ca...
Thereby asked 27/2, 2023 at 17:21

7

Solved

By default longer lines of text in the output cells of a Jupyter notebook will be wrapped. How to stop this behaviour?
Thomsen asked 26/11, 2018 at 13:38

6

I installed pytorch using conda command when the virtual env was activated. But, there are some problems when I import torch modules in Jupyter Notebook. I checked the sys.path both in the prompt...
Soursop asked 18/1, 2018 at 8:22

5

Solved

I'm trying to run a Jupyter notebook on Ubuntu 21.10. I've installed python, jupyter notebook, and all the various prerequisites. I added export PATH=$PATH:~/.local/bin to my bashrc so that the com...
Anthropometry asked 18/1, 2022 at 10:10

4

Solved

I have been experiencing errors while generating charts using Plotly and it seems to be affecting most of the charts I try producing on it. The error also seems to be a duplicate across all the fai...
Byronbyrum asked 5/8, 2018 at 3:30

3

Odoo (ERP) Odoo is an all-in-one management software that offers a range of business applications that form a complete suite of enterprise management applications targeting companies of all sizes....
Coaster asked 16/5, 2018 at 18:50

6

Solved

without using iSpyder DOS shell commands, how can an .ipynb (Jupyter Notebook) be opened directly into Spyder on Windows? Even the online Jupyter Notebook site prompts for a relative directory path...
Fornication asked 30/11, 2020 at 13:50

9

Solved

Anyone knows keyboard shortcut to move cells up or down in Jupyter notebook? Cannot find the shortcut, any clues?
Waverley asked 18/6, 2020 at 15:36

9

Solved

I am trying to run a program on a jupyter notebook that accepts user input, and I cannot figure out how to get it to read standard input. For example, if I run the code with shift-enter: a = input...
Thoer asked 23/1, 2016 at 19:54

11

Solved

I usually have to rerun (most parts of) a notebook when reopen it, in order to get access to previously defined variables and go on working. However, sometimes I'd like to skip some of the cells,...
Guizot asked 11/10, 2013 at 2:25

2

Solved

I have python installed versions 3.73 but for jupyter notebook I have 3.6.8. How to upgrade python to version 3.7+ on jupyter notebook? I tried: conda update jupyter conda upgrade notebook w...
Raccoon asked 12/7, 2019 at 16:40

5

I am trying to run graphviz to view dot file on jupyter notebook in have imported path to dot.exe path. G:\anaconda3\envs\tensorflowgpu\Library\bin\graphviz G:\anaconda3\envs\tensorflowgpu\Library...
Meridional asked 12/9, 2017 at 17:46

8

Solved

For the 1000th time, I am trying to install the nbextensions for my Jupyter Notebook and every time I get the error ModuleNotFoundError: No module named ‘notebook.base’. I did everything according ...

© 2022 - 2024 — McMap. All rights reserved.