| 1 | = TUI information = |
| 2 | |
| 3 | == [=#linux] Python dependencies for linux users == |
| 4 | |
| 5 | TUI has strict python dependencies. Many linux users have problems |
| 6 | displaying guider or slitviewer images because they have the wrong |
| 7 | version of one or more packages. Even if TUI is built correctly, |
| 8 | running it from the wrong directory might result in a different |
| 9 | package being loaded. Since individual linux and python setups can |
| 10 | vary widely, the same solution might not work for everyone. But |
| 11 | here are some solutions that have worked for some people. |
| 12 | |
| 13 | === Pre-built TUI 2.6.0 === |
| 14 | |
| 15 | Download a copy of TUI pre-built for linux as of December 2017 at |
| 16 | |
| 17 | http://www.apo.nmsu.edu/35m_operations/TUI-images/files/tui-centOS.tar.xz |
| 18 | |
| 19 | Future TUI versions will be linked from the TUI-images web page so |
| 20 | be sure to check there also. |
| 21 | |
| 22 | === Install from the ground up === |
| 23 | |
| 24 | {{{ |
| 25 | (1) install miniconda2 using the usual installer |
| 26 | (2) in miniconda2/bin do "./conda install python=2.7.12" to revert to |
| 27 | python 2.7.12 |
| 28 | (3) create a file "pinned" in miniconda2/conda-meta with the line ``python |
| 29 | ==2.7.12" |
| 30 | (4) in miniconda2/bin do "./conda install numpy=1.8.2" to install numpy |
| 31 | 1.8.2 |
| 32 | (5) add line "numpy ==1.8.2" to "pinned" |
| 33 | (6) in miniconda2/bin do "./conda install matplotlib" |
| 34 | (7) in miniconda2/bin do "./conda install Pillow" |
| 35 | (8) in miniconda2/bin do "./conda install astropy" |
| 36 | (9) in miniconda2/bin do "./pip install pygame" |
| 37 | (10) in miniconda2/bin do "./pip install RO==3.6.9” |
| 38 | }}} |
| 39 | |
| 40 | === Forcing package version at runtime === |
| 41 | |
| 42 | |