This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:python:starting [2019/04/26 12:18] jypeter Removed sections that were moved to the quick-start |
other:python:starting [2019/04/26 12:20] jypeter [Initialization] |
||
---|---|---|---|
Line 35: | Line 35: | ||
- Start a terminal on an //obelix// server | - Start a terminal on an //obelix// server | ||
- | - Type ''python'' to access the //default Python 2// interpreter or follow the steps below to use the more complete //CDAT// distribution. Remember that **you can exit the interpreter by typing CTRL-D** (or ''quit()'' or ''exit()'') | + | - Type ''python'' to access the //default Python 2// interpreter\\ or follow the steps below to use the more complete //CDAT// distribution.\\ Remember that **you can exit the interpreter by typing CTRL-D** (or ''quit()'' or ''exit()'') |
- Determine if you are using a [[other:newppl:starting#which_shell_are_you_using|bash or tcsh shell]], then type the following command to initialize //conda// | - Determine if you are using a [[other:newppl:starting#which_shell_are_you_using|bash or tcsh shell]], then type the following command to initialize //conda// | ||
* In a //bash// shell: ''source ~jypeter/.conda3_jyp.sh'' | * In a //bash// shell: ''source ~jypeter/.conda3_jyp.sh'' | ||
Line 41: | Line 41: | ||
- Choose which //flavor// of Python you want by typing: | - Choose which //flavor// of Python you want by typing: | ||
* Python 2.7.x: ''conda activate cdatm_py2'' | * Python 2.7.x: ''conda activate cdatm_py2'' | ||
- | * Python 2.7.x: ''conda activate cdatm_py3'' | + | * Python 3.x: ''conda activate cdatm_py3'' |
- Type ''python'' to start the interpreter | - Type ''python'' to start the interpreter | ||