How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

I installed Anaconda 2.0 in a Windows 7 environment. By default, Python is 2.7, but Python 3.4 is also installed. I can activate Python 3.4 with the command "activate py3k". After that, the Spyder IDE works with Python 3.4. But 1) I can not start Ipython Notebook and QT Console with Python 3.4 2) I can not start Anaconda with Python 3.4 by default (so it also starts three applications - Spyder, Ipython Notebook and Ipython QT Console with python 3.4)

+4
source share
2 answers

The launcher always points to the root environment (Python 2). If you have activated the Python 3 environment, you can start the laptop simply by typing ipython notebook (and the same with qtconsole with ipython qtconsole ).

+4
source

As asmeurer said, when in your py3k environment on the command line you can start the 3.4 kernel using the ipython notebook command. You can run both 2.7 and 3.4 at the same time if you specify a different port, for example ipython notebook --port 8080 . 2.7 by default will be 8888.

Note that by default, IPython will look in your current directory for laptops and store them there if you create them, so it may be useful to create a directory for Python 3 laptops only and either cd to it before starting it, or specify a directory with ipython notebook --port 8080 --notebook-dir C:\\Users\\[User name]\\Documents\\ipython3notebooks

+5
source

All Articles