All Questions
195
questions
0
votes
0
answers
27
views
Jupyter Notebook debugger: Avoid modifying jupyter environment variables after debugging session ends
I am using jupyter in VSC locally, and I noticed that when we debug a cell, once it finishes and the debugger shuts down all the variable's values got updated in the jupyter's notebook's environment, ...
0
votes
0
answers
49
views
Prevent VSCode Debugger from closing the debugging session at the end of the script OR Enable breakpoints in the interactive window
There are two functionalities between the debugger and interactive window that I would like to have together rather than jumping between the two modes, these are:
Keep the debugging session/workspace ...
0
votes
0
answers
44
views
VScode Terminals and Jupyter Freeze when calling functions that open a window
I have multiple functions that when called, VSCode terminals and jupyter will get stuck and never execute. Here's an example:
def get_file_path(filetype, filepath=''):
root = tk.Tk()
root....
0
votes
1
answer
52
views
Unexpected output when using Jupyter
After printing the array in a for loop I also get an additional array of None for seemingly no reason
When running from file:
A= [1,2,3,4,5]
[print(i) for i in A]
prints
1
2
3
4
5
as expected.
...
0
votes
1
answer
197
views
vs code setting to load env file for jupyter notebook
When running the python debugger I can use "envFile": "${workspaceFolder}/.vscode/env"
in my settings.json file to set environmental variables when using the debugger.
How do I ...
-4
votes
2
answers
111
views
When using a jupyter notebook in VSCode, the Python interpreter is ignored
I have a virtual environment with some installed packages and a notebook with some imports of packages that only exist in this environment.
I have done Ctrl + Shift + P > Python: Select Interpreter,...
0
votes
0
answers
96
views
Unexpected Error with ipynb file in VSCode
I got this error when I try to open my .ipynb file in vscode: The editor could not be opened due to an unexpected error: Unexpected token '<', ..." plt\n", <<<<<<< HE&...
0
votes
0
answers
77
views
Unable to See "View Value in Data Viewer" Option in VS Code Debugger [duplicate]
I'm currently encountering an issue with Visual Studio Code where the "View Value in Data Viewer" option is not appearing in the debugger. This issue persists even though I have the Jupyter ...
0
votes
0
answers
149
views
VSCode Notebook extension is not recognizing my python environments
For about two weeks I can't get the extension to work.
I can see all my environments in the Interperter selector menu but not in the kernel picker. I used to run my conda environments with no problems ...
0
votes
1
answer
143
views
Jupyter: Generation of a dataframe code creation from Visual Studio Code data viewer?
I am using Jupyter notebooks in Visual Studio Code.
After a number of steps analyzing a large dataset, I created a short summary dataframe listing unique data.
In VS Code, using the data viewer, I can ...
0
votes
1
answer
64
views
using upyter notebook in vscode want to see all entries of pandas data tabled insted of "downsampled" data
I was wondering how would I be able to see the whole data set of the stock data that I requested? I have about 2900+ entries but I am only able to see 1638. Just wondering how would I be able to ...
0
votes
1
answer
298
views
ERROR: Failed building wheel for pillow (install matplotlib in VScode)
I'm starting to run jupyter on VScode.
And trying to install matplotlib.. but i get the following error.
!pip install matplotlib
...
...
ERROR: Failed building wheel for pillow
ERROR: Could not build ...
2
votes
1
answer
5k
views
Run the following command to install 'ipykernel' into the Python environment
import pandas as pandas
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import cv2
from PIL import Image
When I run the above line of code I get the following error:
Running ...
0
votes
1
answer
249
views
Failed to start the Kernel AttributeError: 'SelectIOLoop' object has no attribute 'asyncio_loop'
I try to:
import numpy as np
as usual using vscode, but it Failed to start the Kernel:
enter image description here
AttributeError: 'SelectIOLoop' object has no attribute 'asyncio_loop'.
View Jupyter ...
2
votes
2
answers
1k
views
How to set the file path of a remote jupyter notebook in VSCode?
Is it possible to set the working directory of a remote Jupyter .ipynb notebook? This problem is similar to How to set the running file path of jupyter in VScode?, but the solution provided in that ...