Linked Questions
62 questions linked to/from Using both Python 2.x and Python 3.x in IPython Notebook
2 votes
2 answers
11k views
How can I change my python version in jupyter notebook? [duplicate]
I have python3 in my jupyter notebook but I want to make it for python2 as well. How can I install for both versions?
6 votes
1 answer
4k views
(How) Can I run python 2.7 & 3.4 notebooks side-by-side in jupyter (ipython)? [duplicate]
I would like to configure jupyter to allow me to run python 2.7 and 3.4 kernels at the same time side-by-side in two different notebooks (or maybe even switch from one to the other in a single ...
0 votes
0 answers
175 views
Running Jupyter with Python 2 [duplicate]
I have two versions of Python (2 and 3) installed. How can I run Jupyter notebook only with the Python 2 interpreter?
605 votes
26 answers
678k views
Conda environments not showing up in Jupyter Notebook
I installed Anaconda (with Python 2.7), and installed Tensorflow in an environment called tensorflow. I can import Tensorflow successfully in that environment. The problem is that Jupyter Notebook ...
382 votes
25 answers
648k views
How do I add python3 kernel to jupyter (IPython)
My Jupyter notebooks installed with python 2 kernel. I do not understand why. I might have messed something up when I did the install. I already have python 3 installed. How can I add it to Jupyter? ...
353 votes
17 answers
525k views
In which conda environment is Jupyter executing?
I have jupyter/anaconda/python3.5. How can I know which conda environment is my jupyter notebook running on? How can I launch jupyter from a new conda environment?
174 votes
5 answers
359k views
How to use Jupyter notebooks in a conda environment?
Typically one runs jupyter notebook or jupyter-notebook or ipython notebook in a terminal to start a Jupyter notebook webserver locally (and open the URL in the browser). When using conda and conda ...
82 votes
7 answers
86k views
jupyter notebook running kernel in different env
I've gotten myself into some kind of horrible virtualenv mess. Help?! I manage environments with conda. Until recently, I only had a python2 jupyter notebook kernel, but I decided to drag myself ...
73 votes
7 answers
103k views
Link Conda environment with Jupyter Notebook
I'm trying to set a good environnement for doing some scientific stuff with python. To do so, I installed Jupyter & miniconda. Then I want to be able to have different environnement and use them ...
44 votes
2 answers
98k views
ImportError after successful pip installation [duplicate]
I have successfully installed a library with pip install <library-name>. But when I try to import it, python raises ImportError: No module named <library-name>. Why do I get this error and ...
26 votes
5 answers
16k views
Is it possible to run a pypy kernel in the Jupyter notebook?
I have always wondered if it were possible to run PyPy in the Jupyter notebook. I recently tried installing PyPy on my local machine, and it ran really well - 100X speedup in an agent-based simulation ...
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....
16 votes
2 answers
88k views
How to remove Python 3.6 completely from Ubuntu 18.04
Both Python 2.7 and 3.6 are installed by default in Ubuntu 18. But I wish to use the Anaconda Python with conda package manager. To avoid any conflicts I wish to completely remove the default Python 3....
9 votes
9 answers
30k views
Jupyter can't find keras' module
I have installed Tensorflow and Keras by Anaconda (on Windows 10), I have created an environment where I am using Python 3.5.2 (the original one in Anaconda was Python 3.6). When I try to execute ...
8 votes
4 answers
22k views
Jupyter notebook only runs in python [root]
My question actually has two parts. So I just started to learn python language and downloaded Anaconda. My friend recommended me to use Jupyter since it's relatively easy to use for beginners. 1) He ...