| 5 | |
| 6 | == anaconda python == |
| 7 | To use anaconda python |
| 8 | {{{#!bash |
| 9 | $ module load anaconda |
| 10 | }}} |
| 11 | |
| 12 | But the current version of anaconda doesn't have ''vtk'' package in default. |
| 13 | |
| 14 | To install vtk package in local, first you have to create local python clone. |
| 15 | |
| 16 | {{{#!bash |
| 17 | [fuji@cypress2 VTK]$ conda create -n my_root --clone=/share/apps/anaconda/2.1.0 |
| 18 | src_prefix: '/share/apps/anaconda/2.1.0' |
| 19 | dst_prefix: '/home/fuji/envs/my_root' |
| 20 | Packages: 140 |
| 21 | Files: 0 |
| 22 | Fetching package metadata: .. |
| 23 | Linking packages ... |
| 24 | [ COMPLETE ] |##############################################################################################################################################################################| 100% |
| 25 | # |
| 26 | # To activate this environment, use: |
| 27 | # $ source activate my_root |
| 28 | # |
| 29 | # To deactivate this environment, use: |
| 30 | # $ source deactivate |
| 31 | # |
| 32 | }}} |
| 33 | |
| 34 | Then do |
| 35 | |
| 36 | {{{#!bash |
| 37 | $ source activate my_root |
| 38 | }}} |
| 39 | |
| 40 | Now you can install vtk package, |
| 41 | {{{#!bash |
| 42 | $ conda install vtk |
| 43 | }}} |
| 44 | |
| 45 | === From next time, to use anaconda python === |
| 46 | {{{#!bash |
| 47 | $ module load anaconda |
| 48 | $ source activate my_root |
| 49 | }}} |
| 50 | |