Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
953 views

How to test in VSCode a postgreSQL SQL expression in Python's interactive notebook (= Jupyter Notebook, iPython) in a venv with package manager conda?

How to test in VSCode a postgreSQL SQL expression in Python's interactive notebook (= Jupyter Notebook, iPython) in a venv with package manager conda?
questionto42's user avatar
  • 2,531
1 vote
0 answers
277 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 ...
T-dog's user avatar
  • 11
0 votes
1 answer
569 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 ...
k92's user avatar
  • 101
1 vote
1 answer
1k 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....
Jan Pesl's user avatar
4 votes
0 answers
232 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 ...
Albert's user avatar
  • 154
1 vote
0 answers
88 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 ...
abalter's user avatar
  • 736
1 vote
2 answers
2k 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?
JJS's user avatar
  • 11
4 votes
1 answer
2k 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 ...
mwoods's user avatar
  • 41
1 vote
0 answers
891 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 ...
bs7280's user avatar
  • 185
0 votes
1 answer
95 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 ...
HaPsantran's user avatar
0 votes
2 answers
4k views

Can't import matplotlib on Anaconda (Python), on my Mac, even though it's installed on the terminal and set as a default

So basically on my Ipython I can't get it working even though it's installed, and the terminal shows that it should be working. Syntax and Error In [1]: import matplotlib.pyplot as plt -------------...
Lorenc Hoxha's user avatar
5 votes
2 answers
11k views

How to search and install package in Anaconda (Conda)

I am trying to install pandoc so I did conda install pandoc but nothing popped up and it told me to search. I searched with anaconda search -t conda pandoc and the results are below...How can I ...
O.rka's user avatar
  • 285
1 vote
1 answer
3k views

500 server error using IPython notebook on Windows

I've just done a fresh install of IPython notebook on Windows 7 Professional 64 bit. The steps I took were: Install Python 3.4.1 from python.org pip install ipython[notebook] pip install pywin ...
blokeley's user avatar
  • 883
2 votes
1 answer
3k views

ipython notebook can't find python

I had a couple of Python 2 versions under home-brew. Since I was only using ipython notebook, I decided to uninstall all Python 2 instances, which turned out to be a bad idea because now I just get an ...
Richard Berg's user avatar
35 votes
1 answer
20k views

show all breakpoints when debug a python code with pdb

I am using pdb to debug a python code. I set the breakpoints in the pdb command line with b [linenumber]. Can I check all the linenumber of breakpoints? thanks.
HXGuo's user avatar
  • 637
1 vote
2 answers
2k views

How to use IPython with Python3.3 in Fedora 18

I've got both Python 3.3 and Python 2.7 installed on my PC. After installing IPython 0.13.1 on Fedora 18 using the Software installer it defaults to Python 2.7. I've little experience in both Linux ...
user avatar
16 votes
2 answers
9k views

%paste magic function on ipython3

I'm using ipython3, installed on Ubuntu with apt-get. I can't use the paste magic function, it complains about missing Tkinter. But I do have Tkinter and the same thing works fine on ipython (2). ...
wim's user avatar
  • 3,277
2 votes
3 answers
986 views

forcing windows 7 not to open python script executables (specificaly pip an IPython) in a new popup cmd window

Meaning that when I run from the command line something like: Ipython or pip install somelib windows runs them in a new cmd window instead of in the current window. therefor if there is an error ...
alonisser's user avatar
  • 163
4 votes
1 answer
660 views

IPython plots show up in IDLE

This quite stupid, but every time i use plot() with IPython it pop's up in the IDLE window opposed to showning it inline. How can I change this?
root's user avatar
  • 145
1 vote
2 answers
949 views

iPython in Terminal.app: multi-line editing

I'm using iPython in Terminal.app (on Mac), and when I scrollback to a multi-line block it's really slow moving between lines. Is there a keybinding (or can I configure one) to make it possible to ...
moinudin's user avatar
  • 3,094
2 votes
0 answers
103 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 ...
papachan's user avatar
  • 121
3 votes
1 answer
1k views

How to config ipython3-3.2 on Mac OS X?

I installed IPython with Macport: $ sudo port install py32-ipython It issues errors when I start it: $ ipython3-3.2 /opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-...
qazwsx's user avatar
  • 9,151
4 votes
1 answer
3k views

Can I redo/undo in ipython shell?

A feature in bpython called rewind. Is there some similar key bindings?
iMom0's user avatar
  • 331
2 votes
1 answer
2k views

Error running IPython3 on XP: TypeError: _isdir() takes exactly 1 argument (0 given)

<UPDATE> Never did get IPython3 to work under Windows, but I did manage to get it to work on my local CentOS server (after much frustration) by eventually discovering the absolutely ...
B. Striegel's user avatar