Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
76 views

I often create Jupyter notebooks as plain .py files with # %% cell delimiters, like this: # %% import polars as pl import numpy as np # %% df = pl.read_parquet('my_cool.parquet') ... I can then run ...
Kerrick Staley's user avatar
0 votes
0 answers
23 views

I have tried loading PyTorch in iPython but get a DLL initialization error. In a normal python console it works fine, as below. Windows 10, Miniconda installation. Can anyone advise how I need to ...
PGajjar's user avatar
1 vote
1 answer
67 views

i have working on ipynb file, and in a cell i calling custom method from my custom library called mymodule. That method calling np.polyfit() which are import in first line of mymodule import numpy as ...
Hello 123's user avatar
1 vote
1 answer
114 views

I develop Python libraries (like this one) inside a (mini)conda environment using: a text editor (VS Code for that matter, but purely as text editor); and a separate zsh terminal (currently on macOS ...
fpavogt's user avatar
  • 451
1 vote
2 answers
301 views

Python 3.12.2, IPython 9.7.0, linux debian. When an error is found in a .py file, the traceback in ipython does not show the right code snippet, making debugging very difficult. This depends on past ...
scrx2's user avatar
  • 2,312
2 votes
1 answer
144 views

With iPython, is there any way to clear output from all cells? I am looking for a command that can do it in one shot. I see that clear_out like below can do the cleaning work, but it works for one ...
ThomasIsCoding's user avatar
0 votes
1 answer
101 views

I'm using a Jupyter notebook as a tutorial for a command-line tool. However, I noticed that regardless of whether I use a shell command (!) or line magic (%), an error does not cause the cell to fail, ...
Adam Stewart's user avatar
  • 2,273
0 votes
1 answer
103 views

I'm using VSCode with a keybinding that sends a command to the terminal, where IPython is running (not Jupyter Notebook, just plain IPython in the terminal). I want to select a line of code (e.g. ...
Nguyễn Cảnh Dũng's user avatar
0 votes
0 answers
83 views

I installed GPflow and just tried to import it with ipython. But, I got an error like below. --------------------------------------------------------------------------- TypeError ...
sadradio's user avatar
1 vote
1 answer
116 views

I'm trying to run a jupyter notebook featuring interactive ipywidgets using a new laptop with a new installation of jupyter/ anaconda, but consistently get the error 'Javascript Error: IPython is not ...
iambirdy's user avatar
1 vote
1 answer
360 views

I'm new to VS Code and Python. When I tried to use interactive window I failed to install IPykernel. I am using Mac system and have already installed Jupyter and Python in VS Code. I am using conda ...
Chessia Huang's user avatar
1 vote
1 answer
86 views

I installed IPython with pip install ipython and I was able to install it. However PyCharm gives this error: C:\Users\HP\PycharmProjects\CE475Exercises\CE475Project.py:150: FutureWarning: Passing ...
Beliz Yazici's user avatar
-1 votes
2 answers
290 views

I'm trying to find an IPython counterpart to Spyder's runfile. According to this page, "exec() will execute the input code in the current scope" by default. Therefore, I expect the ...
user2153235's user avatar
  • 1,295
0 votes
0 answers
53 views

I have a dashboard that gets node count, etc. from slurm and displays that as a button grid, and is refreshed every n seconds. I want the ability to click on any of the buttons and have something ...
kmt's user avatar
  • 65
4 votes
5 answers
391 views

Best practice for Python is to use venv to isolate to the imports you really need. I use python -m venv. For development, it's very convenient to use IPython and notebooks for exploring code ...
SRobertJames's user avatar
  • 9,457

15 30 50 per page
1
2 3 4 5
481