Linked Questions
23 questions linked to/from ipython reads wrong python version
4
votes
1
answer
3k
views
How to make IPython run on the python version 3.9.1 instead of the older version 3.7? [duplicate]
I installed very recently IPython (version 7.19). I installed afterwords python3.9.1 replacing the older version 3.7.1. When I call IPython via the terminal, I always get the indication that IPython ...
18
votes
5
answers
22k
views
How to make iPython use Python 2 instead of Python 3
I have both Python 2.7 and 3.5 installed. If I run a script from the command line using python, it uses Python 2.7, but if I launch iPython, it uses Python 3:
kurt@kurt-ThinkPad:~$ python -V
Python 2....
9
votes
4
answers
9k
views
How to set other Python interpreter to IPython
Can we change the version of Python interpreter that IPython uses?
I know there is IPython and IPython3, but the problem is, IPython uses Python2.7, and IPython3 uses Python3.4.2, and I see no way ...
1
vote
1
answer
7k
views
How do I change the kernel/python version for iPython?
I have installed iPython using pip in OS X 10.10, and it gave me the "ipython" and "ipython2" commands, which run great, but which use OS X's default python version 2.7.9. I downloaded and installed ...
2
votes
4
answers
10k
views
pip install for mpld3
I just did a
sudo pip install matplotlib
which worked fine. Then
sudo pip install mpld3
Details:
$sudo pip install mpld3
Downloading/unpacking mpld3
Downloading mpld3-0.2.tar.gz (1.1MB): 1.1MB ...
7
votes
3
answers
4k
views
IPython sys.path different from python sys.path
I generally use IPython and only recently noticed that the the search path for imports is wrong in the regular python shell. From what I understand, sys.path inherits from PYTHONPATH (although I don't ...
5
votes
2
answers
3k
views
Have IPython run using Python 3 and not Python 2
I have both Python 2 and Python 3 installed, but when I run IPython using ipython from terminal it launches Python 2. How do I get IPython to run Python 3 instead? Within the IPython reference it ...
1
vote
1
answer
5k
views
Within IPython how to get the path of the Python driver
When I am running a script get the path of Python kernel (not mater if it is Python, IPython, or IPython Notebook with non-standard kernel, where I can switch between Py2 and Py3).
When writting (in ...
0
votes
2
answers
8k
views
Different numpy version in Anaconda and numpy.__version__ in IPython Shell
I used How do I check which version of NumPy I'm using? to learn how to get the version of numpy. However, when I run conda list | grep numpy, I get:
numpy 1.15.2 ...
5
votes
1
answer
2k
views
ipython using 2.6 version instead of 2.7
I am trying to set up iPython to use 2.6 version instead of 2.7. Is there a way to do it?
More information.
I am trying to set up a iPython notebook to develop Spark application, however, the python ...
2
votes
2
answers
2k
views
jupyter doesn't import numpy after upgrade with anaconda
I updated the packages with conda update --all and was using jupyter to work. Before the update, everything was working, but now jupyter doesn't import any module beside the sys, os, copy and time. ...
0
votes
1
answer
5k
views
Why can't I import OpenCV (cv2) in IPython notebook?
Whenever I run
import cv2
in an IPython notebook cell, I get an error screen with the message
Kernel Restarting
The kernel appears to have died. It will restart automatically.
Then another ...
1
vote
1
answer
2k
views
Matplotlib in IPython + Pandas: ImportError Symbol not found: _png_create_info_struct
I've built Matplotlib in Python such that when I import it or any part of it, it works fine and graphs fine.
However, I've been going through "Python for Data Analysis," and in Ch.2's IPython ...
2
votes
2
answers
1k
views
Issue when importing matplotlib
I've setted up a virtual enviroment for playing around with machine learning using pyenv. When i run import matplotlib.pyplot as plt this i what i get:
ImportError ...
2
votes
1
answer
2k
views
IPython pointing to wrong version of Python
I'm running Ubunutu 13.04. When using IPython, it points to a 3.3.1 copy of python that was installed in /usr/bin. I recently installed the most recent release of Python (3.3.2), which installed ...