Questions tagged [jupyter]

Jupyter is a collection of environments and protocols for interactive computing. It supports many languages and kernels, and works with frontends including the web application Jupyter Notebook. Jupyter was split from IPython in 2015, and Jupyter Notebook is based on IPython Notebook.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

Opening a csv file in Jupyter notebook

I'm beginner in Python, I'm doing a lab in Jupyter notebook, the instructor in the video is using Anaconda, while I use simply Jupyter notebook. In the beginning of the lab he is copying the path to ...
Jaya Asiri Prem's user avatar
-1 votes
0 answers
13 views

I am trying to create a graph of a parquet file with 3 variables using dropdown and Widgets [closed]

I try running both cells but when I click to change the variable it goes into the function 'update_graph', but it just wont go into the conditionals. I have tried changing the input of the function to ...
Tiago Amorim's user avatar
0 votes
0 answers
6 views

Jupyter-notebook asks for token every time I move pages

I'm running a remote jupyter notebook ssh -L localhost:MYPORT:localhost:jupyterport me@theotherplace jupyter-notebook --no-browser --port=jupyterport I get what you'd expect: an address localhost:...
kyse_zenith's user avatar
0 votes
0 answers
18 views

Jupyter matlab kernel disconnect after 5 min

I install the matlab jupyter extension in order to use matlab in jupyter notebook/lab. But the problem is that when I run a cell more than 5 min, it will disconnect. errors are as following: When a ...
Barry G's user avatar
-1 votes
1 answer
14 views

VS Code Jupyter py 3.11.5 output no truncating but scrolling

enter image description here Dataframe temp has 157 columns. I want to see their types, but output gets truncated. How to see this output with scrollable output or open in text editor view? print() or ...
In Ho Jung's user avatar
0 votes
0 answers
15 views

Jupyter lab doesn't open any notebooks. cmd: "The system cannot find the path specified."

Received error IOPub data rate exceeded. The Jupyter server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable `--ServerApp....
bos_s_haft's user avatar
-3 votes
1 answer
44 views

Inquiry about Jupyter in Anaconda [closed]

I'm trying to launch Jupyter from Anaconda and this message was shown to me: Traceback (most recent call last): File "C:\Users\moham\anaconda3\Lib\site-packages\notebook\traittypes.py", line ...
Mohammad Najeh's user avatar
0 votes
0 answers
16 views

pycharm and jupyter notebook upload error

Every time I try to upload to localhost the jupyter file and I want to run, I get this error thrown: [W 2023-09-23 19:13:59.137 ServerApp] 404 GET /api/contents/Users/X/Documents/TUD/X/Playground/CNN/...
GaTe's user avatar
  • 5
0 votes
0 answers
38 views

Defining parameters within Jupyter Notebook

I'm trying to pass a dynamic variable as a command line option while using Jupyter Notebook, but I'm running into the following problem. I tried setting board_name = argv and board_name = "&...
foggyDisaster's user avatar
0 votes
0 answers
11 views

Removing section numbering from markdown cells in jupyter notebook

When I type "## Prepare python environment" into the cell, it prepends a number. How do I remove this?
user3761743's user avatar
0 votes
0 answers
8 views

Chrome keyboard shortcut overwrite jupyter notebook keyboard shortcuts

I've just recently switched to chrome (I'm using Macos Ventura 13.5.1) and I'm having some problems with its shortcuts overwrite jupyter notebook edit mode keyboard shortcuts. To be detailed, I want ...
Reyomi's user avatar
  • 73
0 votes
0 answers
16 views

How to preform relative import in python of package with submodules in a specific case

I am having a difficult time importing my modules outside of the local folder of the package. My folder hierarchy looks something like this: root |- version 1.0 |- package_name ...
tnt1674's user avatar
  • 11
0 votes
0 answers
32 views

could not build wheels for maturin which is required to install pyproject.toml-based projects

/storage/emulated/0/Android/data/ru.iiec.pydroid3/files $ pip install maturin Collecting maturin Using cached maturin-1.2.3.tar.gz (175 kB) Installing build dependencies ... done Getting requirements ...
Deepak Kumar's user avatar
-4 votes
0 answers
27 views

I need help in Analyze A/B Test Results [closed]

Hello I been taking a Statistics for Data Analysis in which I'm making my final proyect but in the point of EXPERIMENT I really dont understand how to make it special in the point E) and G) github ...
user22201196's user avatar
1 vote
1 answer
15 views

Jupyter Notebook can't launchy

Please i've been trying to launch jupyter notebook, but i keep having the same problem. I've tried reinstalling anaconda but i still have the same problem enter image description here I've tried ...
Rayhan Garibaldi's user avatar
0 votes
0 answers
19 views

How can I change the entire page color of a PDF generated by NBConvert-ing a Jupyter Notebook Markdown .ipynb file?

So I'm using a Windows 10 machine right now. I have a few .ipynb files that I want to convert. I can convert them perfectly fine with the following command. jupyter nbconvert --to webpdf --allow-...
Rodney Johnson's user avatar
0 votes
0 answers
8 views

Jupyter Lab Remote Tunnel Link

Is there a way to launch a Jupyter Lab server that is accessible through a direct tunnel link (NOT via SSH) in a similar way that is available in VSCode Remote Tunnels? The use case is when running ...
Guy Gaziv's user avatar
0 votes
0 answers
34 views

Error trying to install Variable Explorer in Jupyter "ModuleNotFoundError: No module named 'widgetsnbextension' "

Working with Windows 10, Python 3.11.2, Jupyter 4.0.4 Following the instructions in https://saturncloud.io/blog/what-is-the-variable-explorer-in-jupyter-notebook-and-how-to-use-it/ The first part ...
Carlos Augusto Frana Schettini's user avatar
0 votes
1 answer
19 views

Jupyter's output is not consistent with local terminal in vscode

I'm now using jupyter in vscode, when I type !nvcc -V, jupyter tells me no such a command, however, it works well in the seperated terminal, why this happens? Thanks a lot! I tried to uninstall the ...
Yufan Andrew Liu's user avatar
0 votes
0 answers
47 views

ERROR while using " pip install catboost " : Failed building wheel for catboost

I'm trying to install the catboost package through a requirements.txt file in my virtual environment, but while building the wheel for catboost (pyproject.toml), an error occurs. Environment: Python: ...
Krish Kanojia's user avatar
0 votes
0 answers
41 views

IPython is not defined jupyter lab my os is windows 10?

When I place a notebook made in jupyter notebook in a jupyter lab, the following message appears: Javascript Error: IPython is not defined. I installed the jupyter lab just as the page says for ...
marc arias's user avatar
0 votes
0 answers
10 views

How to run IPython console that uses the core of the running Jupyter Notebook in DataSpell IDE?

I want to run an IPython console in DataSpell IDE that uses the core of the running Jupyter Notebook. I want to have notebook cells to work with, and an IPython console where I can test some things. ...
Ramil Ahtamyanov's user avatar
-3 votes
1 answer
20 views

@cython.cdivision(True) causes "math domain error" in weird scenario

Running a Jupyter notebook in VSCode, I am getting bizarre behavior with the Cython unprotected division directive. Starting the session with %load_ext cython, run: %%cython import math cimport ...
feetwet's user avatar
  • 3,246
0 votes
0 answers
15 views

What is alternative for DEF in jupyter cython

I am using DEF so that I can efficiently allocate arrays in Cython that I'm running in jupyter notebooks, like this (pointless) example: %%cython DEF iterations = 1000 def test(): cdef int a[...
feetwet's user avatar
  • 3,246
-1 votes
0 answers
16 views

Docker build-container unable to build NVIDIA data-science-stack

Configuration: WSL2 1.2.5.0 distro : Ubuntu 22.04.3 LTS. 500Go of free disk space allocated. NVIDIA Cuda and Anaconda are installed on distro. Problem: Trying to install NVIDIA data-science-stack, I ...
Grégoire MARIE's user avatar
1 vote
1 answer
73 views

AssertionError running Llama 2 locally in Python

I am running a Jupyter notebook for the purpose of running Llama 2 locally in Python. I downloaded the 7B parameter Llama 2 model to the root folder of my D: drive. I installed version 0.2.6 of Llama ...
SputnicK's user avatar
  • 113
-1 votes
0 answers
21 views

Why does connecting Jupyter server in VSCode take 3 minutes?

I'm debugging a local notebook with VSCode. it worked well until today. Actually it still worked in the end, but it took 3 minutes in connecting the jupyter sever before the first cell was executed: ...
jerron's user avatar
  • 301
0 votes
0 answers
8 views

Interactive image for markdown cell

I want to prepare an image to be used in Jupyter in markdown cell. The image should have frames to go interactively through. An image can be produced in some graphical program with layers. I tried to ...
Igor T. Podolak's user avatar
0 votes
0 answers
41 views

No module named 'tqdm' (with same python version)

When I run this code in Jupyter Notebook: import tqdm generator, gen_optimizer = ipex.optimize(generator, optimizer=gen_optimizer) from torch.utils.tensorboard import SummaryWriter writer = ...
Wang Haozhi's user avatar
0 votes
0 answers
26 views

setting Jupyter kernel on different place

I have a question about setting up a kernel for jupyter notebook. I usually did python -m ipykernel install --user --name {conda env name} --display-name "{displayed env name}" However, it ...
Danny  Han's user avatar
  • 177
0 votes
0 answers
25 views

Cannot install google colab using pip install google-colab

error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [15 lines of output] C:\Users\Himanshu Pant\AppData\Local\Temp\pip-install-...
Himurocks8's user avatar
1 vote
0 answers
39 views

Jupyter Lab - Unable to Open Windows OneDrive Directory

This has been driving me crazy for over a year. Basically have Python 3.11 installed on a Windows 10 machine. Company has OneDrive syncing running on the machine, so Jupyter Lab files are saved in ...
Zymurgist66's user avatar
0 votes
1 answer
21 views

Why is Jupyter looking for extensions I haven't installed?

Even in a completely pristine virtual environment I get errors of the following form Package jupyter_server_terminals took 0.0020s to import [W 2023-09-14 09:17:01.917 ServerApp] NAME | error adding ...
orome's user avatar
  • 45.3k
-1 votes
0 answers
39 views

how to remove the href output in vscode cell run error message

"How to remove the 'href' occurrences in error messages when using Jupyter Notebook through local remote connection in VS Code? It greatly affects the ability to understand the reasons for the ...
linclon sun's user avatar
0 votes
0 answers
9 views

Jupyter javascript kernel installation last comand not working windows 10

I am trying to install a javascript kernel into jupyter onto a windows 10 machine that has jupyter installed and NodeJS installed. I am following this https://github.com/n-riesco/ijavascript under ...
David Wigley's user avatar
0 votes
0 answers
16 views

jupyter and cirq conflicts with jsonschema and attrs

I use windows 11 and python 3.11.5, and try to install cirq and jyputer notebook in virtual environment. First, I installed virtuanenv and make an environment. pip install virtualenv pip -m venv ofpyq ...
Weongyu Lee's user avatar
-5 votes
0 answers
33 views

VS Code - Jupyter stopped working - need fix [closed]

I have a problem with Jupyter in VS Code. While I was working with VS Code, Jupyter in VS Code stopped working. Now I'm getting the following error message: Jupyter notebook failed to launch. Error: ...
Lieke's user avatar
  • 1
0 votes
0 answers
26 views

Installing IPython3 kernel fails

I'm trying to install IPython kernel following these instructions (CentOS 7 linux): https://ipython.readthedocs.io/en/stable/install/kernel_install.html I'm doing this because I want to upgrade Python ...
Asko Juvonen's user avatar
0 votes
0 answers
12 views

After installing Jupyter Hub and Jupyter Lab on CentOS 7, how do I use them on Windows?

After installing Jupyterhub in CentOS 7 Master account, I want to set up analysis environments and use Jupyter Lab in each account. I want to connect with Jupyter lab from windows-based computer, so ...
upnote's user avatar
  • 1
0 votes
2 answers
34 views

Is there a way to set up a job scheduler to run a Jupyter Notebook with the input code hidden through JupyterLab Real-Time Collaboration?

I am setting up a JupyterHub server and I would like to be able to do the following three things: Enable JupyterLab Real-Time collaboration: https://jupyterlab-realtime-collaboration.readthedocs.io/...
user146268's user avatar
0 votes
1 answer
20 views

How do I add a row of data referencing interactive variables when a button is clicked using Python plotly-dash

I have a number of interactive input and output data in a Dash app. I have created a button where it if clicked it should create and then subsequently add (with later clicks) a row of data to a table. ...
travgeol's user avatar
0 votes
1 answer
34 views

NaN: when I use a number of df x df but non NaN if I use number x df with the same number?

CORRECT If I use c = -10245.945396, I receive the result: print(coefficients) c = -10245.945396 print(impact_df['Land Use'].mul(c)) Output: 2015 -1.711073e+06 2016 -1.711073e+06 2017 -1.711073e+...
Dima's user avatar
  • 11
-1 votes
1 answer
37 views

Text on 'Restart Kernel' button in VSCode Jupyter is wrong - %jupyter.command...shorttitle%

The "Restart Kernel" button at the top of the Jupyter tool in VS Code used to be titled "Restart Kernel" (of course), but now it shows what appears to be a variable name: %jupyter....
Diomedea's user avatar
  • 181
0 votes
0 answers
42 views

TypeError: run_simple() got an unexpected keyword argument 'jupyter_mode'

from the below doc, it says we can run app in notebook without using JupyterDash, instead we can just run app.run(jupyter_mode="external"). https://dash.plotly.com/dash-in-jupyter However, I ...
roudan's user avatar
  • 3,148
0 votes
0 answers
42 views

Redirection of jupyterlab terminal stdout to system stdout (where jupyter lab is running)

I'd like to redirect the stdout of some commands inside a terminal in jupyterlab to the container where is running the jupyterlab for visualization/audit possibilities due to our solution that already ...
Ryoji Kuwae Neto's user avatar
2 votes
2 answers
50 views

Documentation does not open on jupyter notebook

While learning the matplotlib library, I learned about the 'shift+tab' combination. I was looking there and writing my codes. Today I opened Jupyter Notebook again, but the 'shift+tab' combination ...
Ozcan Aydin's user avatar
0 votes
0 answers
15 views

How can I get vpython results to show inline in jupyterlab?

Jupyterlab hangs and does not display the results of evaluation when I try to run any graphical vpython code, eg... from vpython import * canvas() box(vector-(0,0,0)) I have tried this in both colab ...
user3241313's user avatar
0 votes
0 answers
15 views

Scikit-surprise import not recognized

I have tried installing scikit-surprise using the following command conda install -c conda-forge scikit-surprise But when running the import on my jupyter notebook from surprise import Dataset I get ...
backer's user avatar
  • 3
0 votes
1 answer
29 views

Does not display Cyrillic in jupyter

I work in jupyter notebook and an error occurs when exporting a file to pdf. The Cyrillic alphabet is not displayed in the file. How to fix it? I tried to create my own template, which is located in ...
Tiranich's user avatar
0 votes
1 answer
26 views

Printing not working properly in Jupyter Notebook

I was in Jupyter Notebook playing around with the zip function in Python, when I noticed a print statement wasn't printing. This is the code contained in the cell: z1=["a","b",&...
jacob's user avatar
  • 103

1
2 3 4 5
159