What is the correct syntax for launching ipython qtconsole/notebook for python version=x

root-11

What is the closest thing I can get to a correct single-line syntax for launching a specific ipython with the latest anaconda version on Microsoft Windows?

Examples (that don't work):

C:\> ipython qtconsole --python=3 for the latest version of python 3.

C:\> ipython notebook --python=3.3.5 for the exact version of python 3.

C:\> ipython console --log-level=DEBUG --python=3.4 for the exact version of python 3.4 with verbose log

?

root-11

The correct answer on a fresh anaconda install on windows is to use cmd.exe and create a new environment:

C:\Anaconda>conda create -n py3k python=3 anaconda

Anaconda fetches, extracts and links the package(s), and provides the helpful message:

#
# To activate this environment, use:
# > activate py3k
#

To which the user should type:

C:\Anaconda>activate py3k

hereby cmd.exe prints:

Activating environment "py3k"...
[py3k] C:\Anaconda>

To launch the python qtconsole based on the version declared in the line: C:\Anaconda>conda create -n py3k python=3 anaconda the user should type:

[py3k] C:\Anaconda>ipython qtconsole

In case the user still sees python 2.7.6 it will be because s/he/it forgot to add anaconda at the end of the environment creation: C:\Anaconda>conda create -n py3k python=3 anaconda

If a full anaconda environment is not needed, the user may initiate the needed packages only by issuing the command:

C:\Anaconda>conda create -n [name] python=[version] python=[version] [list of packages separated by spaces]

Thanks to the iPython mailing list for these inputs.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

What is the correct syntax for launching ipython qtconsole/notebook for python version=x

From Dev

The statement d = ('x': 1, 'y': 2, 'z': 3) is showing errors in Python 3.6. What would be the correct syntax for the new version ?

From Dev

What is the correct syntax for api_version in app.yaml?

From Dev

IPython launching error with Enthought Python Distribution

From Dev

install ipython for current python version 2.x

From Dev

What is the right syntax for launching an executable in Appveyor?

From Dev

What is correct syntax for select?

From Dev

What is the correct Syntax in MySQL for IF and THEN?

From Dev

what is the correct syntax for query

From Dev

What is the x = [m]*n syntax in Python?

From Dev

What is the x = [m]*n syntax in Python?

From Dev

What is the correct syntax of GdkPixbuf.Pixbuf.savev() when used in Python?

From Dev

What is the Correct Syntax for Connecting Multiple Boolean Checks in Python?

From Dev

HTML Python Correct Syntax

From Dev

Python SyntaxError with a correct syntax

From Dev

Ruby version syntax, x.x.x-dev, preview, rc, what is the oldest and newest?

From Dev

What is the correct block syntax in Swift

From Dev

What is the correct Javascript bind syntax?

From Dev

What is the correct syntax for grouping rows

From Dev

What is the correct syntax for mqtt reconnect?

From Dev

What is the correct function callback syntax?

From Dev

What is the correct syntax to use && and ! in an if condition?

From Dev

SQL Server - What is the correct syntax?

From Dev

Why is IPython QtConsole not launching?

From Java

What is the bower (and npm) version syntax?

From Dev

python syntax error although syntax is correct

From Dev

how to convert Python 2 unicode() function into correct Python 3.x syntax

From Dev

how to convert Python 2 unicode() function into correct Python 3.x syntax

From Dev

What is the correct syntax for inner struct literals in Go?

Related Related

  1. 1

    What is the correct syntax for launching ipython qtconsole/notebook for python version=x

  2. 2

    The statement d = ('x': 1, 'y': 2, 'z': 3) is showing errors in Python 3.6. What would be the correct syntax for the new version ?

  3. 3

    What is the correct syntax for api_version in app.yaml?

  4. 4

    IPython launching error with Enthought Python Distribution

  5. 5

    install ipython for current python version 2.x

  6. 6

    What is the right syntax for launching an executable in Appveyor?

  7. 7

    What is correct syntax for select?

  8. 8

    What is the correct Syntax in MySQL for IF and THEN?

  9. 9

    what is the correct syntax for query

  10. 10

    What is the x = [m]*n syntax in Python?

  11. 11

    What is the x = [m]*n syntax in Python?

  12. 12

    What is the correct syntax of GdkPixbuf.Pixbuf.savev() when used in Python?

  13. 13

    What is the Correct Syntax for Connecting Multiple Boolean Checks in Python?

  14. 14

    HTML Python Correct Syntax

  15. 15

    Python SyntaxError with a correct syntax

  16. 16

    Ruby version syntax, x.x.x-dev, preview, rc, what is the oldest and newest?

  17. 17

    What is the correct block syntax in Swift

  18. 18

    What is the correct Javascript bind syntax?

  19. 19

    What is the correct syntax for grouping rows

  20. 20

    What is the correct syntax for mqtt reconnect?

  21. 21

    What is the correct function callback syntax?

  22. 22

    What is the correct syntax to use && and ! in an if condition?

  23. 23

    SQL Server - What is the correct syntax?

  24. 24

    Why is IPython QtConsole not launching?

  25. 25

    What is the bower (and npm) version syntax?

  26. 26

    python syntax error although syntax is correct

  27. 27

    how to convert Python 2 unicode() function into correct Python 3.x syntax

  28. 28

    how to convert Python 2 unicode() function into correct Python 3.x syntax

  29. 29

    What is the correct syntax for inner struct literals in Go?

HotTag

Archive