2 .. include:: ./rst_prolog.rst
6 **************************
7 Development installations
8 **************************
10 A development installation of solverlabGUI allows programmer improvments.
11 It is a classical usage of Python_ packages.
12 It needs a directory for Python_ interpreter (usually named *miniconda3*),
13 and another directory for solverlabGUI scripts (usually named *solverlabGUI*),
15 *In fine*, user could find (and use) command *solverlabGUI* directly after a
16 *detar/unzip* installation. Or a *git clone*.
18 .. warning:: #. **Windows7-10** all-in-one installation is a *development installation* of solverlabGUI,
19 which allows programmer improvments.
20 #. Users find *miniconda3* and *solverlabGUI* directories in parent directory named
21 *C:\\Users\\Public\\solverlab*.
22 #. **Linux** all-in-one installation PyInstaller_ bundle is **NOT** like that.
23 #. To get *development installation* **Linux** (freely located) of solverlabGUI,
24 users have to follow the two next chapters.
27 .. _iraInstallation_pythonlinux:
29 Python installation Linux
30 ============================
32 To install python3 (and its mandatory packages PyQt5 etc.) *locally*, we suggest to use miniconda_.
33 Note that *miniconda* is windows7-10 compliant.
35 .. note:: You may use this Python interpreter for another python scripting code than solverlabGUI.
39 #. https://conda.io/miniconda.html
40 #. https://conda.io/docs/index.html
42 Example of install *(Linux-bash)*:
46 bash Miniconda3-latest-Linux-x86_64.sh
47 # -> Miniconda3 will now be installed into this location:
48 # -> /volatile/common/miniconda3 (for example. It is located as you want.)
49 # -> Thank you for installing Miniconda3!
51 export PATH=/volatile/common/miniconda3/bin:$PATH
53 # -> /volatile/common/miniconda3/bin/conda
55 conda create --name py3qt5 python=3 \
56 pip jupyter matplotlib numpy pandas pandas-datareader \
57 pyqt=5 scipy sympy jsonschema pyyaml libxml2 paramiko
58 # -> Solving environment: done
59 # -> Proceed ([y]/n)? y
60 # -> Downloading and Extracting Packages
61 # -> To activate this environment, use:
62 # -> source activate py3qt5
65 # -> conda environments:
66 # -> base /volatile/common/miniconda3
67 # -> py3qt5 /volatile/common/miniconda3/envs/py3qt5
70 source activate py3qt5
72 # - > /volatile/common/miniconda3/envs/py3qt5/bin/python
75 .. _iraInstallation_linux:
77 solverlabGUI installation Linux
78 =================================
81 .. warning:: Python interpreter py3qt5 is supposed to be set
82 and useful in environment path.
83 Usually command *source activate py3qt5* assume that.
85 Example of install/launch *(Linux-bash)*:
90 tar -xf .../solverlabGUI_xxxx.tgz
92 ls -l solverlabGUI # the launch executable command (is a script python)
93 which python # --> py3qt5
94 ./solverlabGUI -h # on line help
95 ./solverlabGUI -g -w ... # launch GUI
98 .. _iraInstallation_windows:
100 solverlabGUI installation Windows7-10
101 ======================================
103 .. warning:: Python interpreter py3qt5 is supposed to be set
104 and useful in environment path, at **mandatory** usual location
105 *C:\\Users\\Public\\solverlab\\miniconda3*.
106 Usually command *conda activate py3qt5* assume that.
109 Example of install/launch *(Windows7/10-cmd.exe shell)*, using 7-zip_:
114 cd C:\Users\Public\solverlab # this is mandatory location, useful for all users
115 "C:\Program Files\7-Zip\7z.exe" x .../solverlabGUI_xxxx.7z
116 cd C:\Users\Public\solverlab\solverlabGUI
117 where python # --> py3qt5
118 python solverlabGUI -h # on line help
119 python solverlabGUI -g -w ... # launch GUI
122 .. note:: To launch solverlab GUI, you may use Windows shortcut
123 *C:\\User\\Public\\solverlab\\solverlabGUI\\LaunchSolverlabGUI(.lnk)*