Questions tagged [ipython]

IPython is an interactive shell for Python and other programming languages. Questions about programming using IPython are off-topic here.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
764 views

“ssh -X” doesn't open matplotlib figures

Often times, I ssh into another computer to do python work. While I'm coding, I like to have an ipython shell open for quick testing. For some reason, I cannot get matplotlib to open figures. Here is ...
2
votes
0answers
104 views

IPython has lag on ConEmu, and only on ConEmu

I'm running Python 3.7.3 through IPython 7.5.0 on ConEmu 19.6.23.0, using Windows 10 Pro. Whenever I run IPython on ConEmu, I experience lag. For example, on IPython's interpreter I input 1+1 and hit ...
2
votes
0answers
480 views

Unable to load Google Colaboratory

I went to Colaboratory! and signed in using my gmail address. I'm using Chrome. I disabled the ad blocker for Colab. When I attempt to create a new notebook I get the following error: Error Unable to ...
2
votes
1answer
29 views

Install IPython on stand-alone windows machine

How can I install IPython on a Windows machine not connected to Internet. I only need the shell without the notebooks. I couldn't find dependency list - all installation instructions use pip and ...
2
votes
0answers
89 views

How I can register ipython in Mac OS with latest versions of python?

I have installed ipython through easy_install but it didn't create the file in /usr/local/bin/ as usual. I know if I use older version of easy_install of python, for example 2.6 I have this file ...
1
vote
0answers
35 views

Copy clipboard from Notepad++ to PuTTY issue

I have code written in Notepad++ and PuTTY into a linux server. When copying multiple lines to ipython on the linux server, it only reads and executes one line and forgets the rest of the lines I ...
1
vote
1answer
87 views

Ipython kernel keeps crashing when running UMAP

I am trying to run some dimensionality reduction using UMAP. However, python keeps crashing. My hunch is that it has something to do with c compiler/cython, but I didn't succeed to re-install/fix this....
1
vote
0answers
10 views

Simplest way to create in-browser python repl?

I want to create a very minimal version of something like Jupyter Notebook where I can type python code into a browser window, run the code on the server, and print the result to the browser. (Don't ...
1
vote
1answer
864 views

Jupyter Notebook hangs when it launched in background. Why?

If it launched in GUI and I left the PC and access it via my notebook, it runs ok. If it via launched jupyter notebook via SSH, it runs ok. But obviously it will be exited when the SSH is closed. If ...
1
vote
0answers
801 views

Switching between a python 2.7 Jupyter Notebook and python 3.5 Jupyter Notebook

Due to some of the work I do and classes I am in I frequently find my self needing to use both python 2 and python 3 jupyter notebooks. I installed both notebook servers using pip (pip3 for python 3 ...
1
vote
1answer
201 views

Getting rid of welcome message in Spyder Python IDE (Anaconda)

I am on Windows 7 64bit. Is there a way to customize the welcome message in the Spyder IDE IPython console? (I am using the Anaconda distribution.) Preferably, starting with a plain: In [1]:
0
votes
0answers
215 views

Installed Jupyter Notebook for Python 3.6.8 stuck at “Kernel Starting, please wait…”

I installed jupyter notebook on my computer for a RHEL system, I installed it using the command pip3 install --user jupyter and then later due to it not working pip3 install --force-reinstall --user ...
0
votes
0answers
10 views

Ipython notebook creates multiple python threads on startup

I have a problem when launching Ipython notebook on my computer cluster. Whenever I start a new Ipython notebook session and open a notebook, I can see that Ipython immediately spawns 9 threads of ...
0
votes
0answers
39 views

Running ipython / jupyter console within emacs on Windows 10

I have never been able to get this to work on Windows 10, though at some point on Windows 7 it did (older machine, no longer around). I've spoken at length with the developers of the emacs elpy and ...
0
votes
0answers
16 views

After updating anaconda, IPython automatically plots any matplotlib plot on initialization

So I'm used to doing development in the IPython shell where I'll initialize a plot, and then add stuff to it before plotting, like: In [1]: fig = plt.figure() In [2]: ax = fig.add_subplot(111) In [...
0
votes
0answers
32 views

Anaconda3 Ipykernel keeps restarting: AttributeError: module 'imp' has no attribute 'get_suffixes'

The module imp is unable to import the sub function get_suffixes(), who's path is unknown. I have tried reinstalling by removing all the dependencies. But the issue stays the same. Can someone help me ...
0
votes
0answers
251 views

Jupyter notebook kernel keeps dying, even after anaconda reinstall

I use Jupyter Notebook every day for data analysis. This morning, after opening a brand new notebook file, the kernel failed to initialize. Now, every time I try to open a juptyer notebook, the kernel ...
0
votes
0answers
35 views

CMD bug after uninstalling iPython

OS: Windows 10 I uninstalled iPython in the cmd, which had changed the tab button to autocomplete instead of indent upon press, and I cleaned the registry, but I am still not able to indent when I ...
0
votes
1answer
91 views

Error loading Jupyter notebook

I have been working on one project on my jupyter notebook for days but python stopped working for some reason. I continued working on file as I was editing some markdown cells. After reopening ...
0
votes
0answers
1k views

Jupyter notebook terminal (reads in red) - [E 00:26:59.217 NotebookApp] Could not open static file ''

Long Story: Hi i have been trying to train a deep neural network, with some spectral data using Pytorch and using only the CPU for it. Although it was training fine until some point, but suddenly ...
0
votes
0answers
40 views

Dont see any engines when connecting with ipyparallel Client

I am trying to setup an ipyparallel/ipython cluster with SSH. I want to run a controller on host1 and (for starters) two engines on host2. I want to connect to those with a client on host1. SSH access ...
0
votes
0answers
108 views

How can I export/import keyboard shortcuts for spyder IDE

I am new to Spyder. I have configured my preferred keyboard shortcuts on the Spyder on my home computer. Now I would like to use the same shortcuts on my working computer. I followed the advice here ...
0
votes
0answers
19 views

IPython (NOT notebook) on Windows - how to copy to console without mouse?

In IPython console (not jupyter notebook, but console launched in CMD/Powershell, Windows 10 with ipython command) - how can I select entire line(s) from history and copy it to the clipboard without ...
0
votes
1answer
81 views

Clear multi-line input in IPython

The current line on the IPython prompt can be cleared with the keyboard shortcut Ctrl-U. Is there any shortcut that clears all lines on the IPython prompt in one go?
0
votes
0answers
26 views

Attempt to installation of jupyter_contrib_nbextensions changed my bash profile

I was trying to install jupyter_contrib_nb_extensions following here. My intention is to implement code folding in my Jupyter notebooks. I used the conda method mentioned in the link via this command ...
0
votes
1answer
743 views

Issue with importing keras in Jupyter Notebook

I have an issue while importing keras after installing Tensorflow and Keras using Anaconda Prompt. The error says 'No module named keras'. I'm using Python 3.67.
0
votes
1answer
71 views

Control A on Mac Terminal behaves unexpectedly while using python ipdb

When I'm using Python ipdb (and this only happens on one of my three macs), I type Ctrl-A to get to the beginning of the line (after running a few statements without issue). The cursor APPEARS to jump ...
0
votes
0answers
92 views

General getting started with untrusted https

I have about 9 year's experience creating/maintaining minimally secured personal or departmental web sites with Linux and Apache httpd. Recently I've deployed a couple of web apps that require a ...