Paso 1: instale python> = 3.5 ejemplo:
CentOS 7: instale python36 y python36-pip

Paso 2:

1
yum install -y python3-devel libtiff-devel libXtst-devel webkitgtk-devel opensm-devel libpng-devel openjpeg-devel gstreamer1-plugins-base-devel mesa-libGLU-devel mesa-libGL-devel freeglut-devel

Resultado:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dieciséis
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sesenta y cinco
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
[root@tutorialspots ~]# yum install -y python3-devel libtiff-devel libXtst-devel webkitgtk-devel opensm-devel libpng-devel openjpeg-devel gstreamer1-plugins-base-devel mesa-libGLU-devel mesa-libGL-devel freeglut-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.host-engine.com
 * epel: dfw.mirror.rackspace.com
 * extras: mirrors.usinternet.com
 * nux-dextop: mirror.li.nux.ro
 * remi-safe: mirror.pit.teraswitch.com
 * updates: repos-tx.psychz.net
Package 2:libpng-devel-1.5.13-7.el7_2.x86_64 already installed and latest version
Package gstreamer1-plugins-base-devel-1.10.4-2.el7.x86_64 already installed and latest version
Package mesa-libGLU-devel-9.0.0-4.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package freeglut-devel.x86_64 0:3.0.0-8.el7 will be installed
--> Processing Dependency: freeglut = 3.0.0-8.el7 for package: freeglut-devel-3.0.0-8.el7.x86_64
--> Processing Dependency: libglut.so.3()(64bit) for package: freeglut-devel-3.0.0-8.el7.x86_64
---> Package libXtst-devel.x86_64 0:1.2.3-1.el7 will be installed
---> Package libtiff-devel.x86_64 0:4.0.3-27.el7_3 will be updated
---> Package libtiff-devel.x86_64 0:4.0.3-32.el7 will be an update
--> Processing Dependency: libtiff(x86-64) = 4.0.3-32.el7 for package: libtiff-devel-4.0.3-32.el7.x86_64
---> Package mesa-libGL-devel.x86_64 0:18.0.5-4.el7_6 will be updated
---> Package mesa-libGL-devel.x86_64 0:18.3.4-7.el7_8.1 will be an update
--> Processing Dependency: mesa-libGL = 18.3.4-7.el7_8.1 for package: mesa-libGL-devel-18.3.4-7.el7_8.1.x86_64
--> Processing Dependency: mesa-khr-devel(x86-64) = 18.3.4-7.el7_8.1 for package: mesa-libGL-devel-18.3.4-7.el7_8.1.x86_64
---> Package openjpeg-devel.x86_64 0:1.5.1-18.el7 will be installed
--> Processing Dependency: openjpeg = 1.5.1-18.el7 for package: openjpeg-devel-1.5.1-18.el7.x86_64
---> Package opensm-devel.x86_64 0:3.3.21-3.el7_8 will be installed
--> Processing Dependency: opensm-libs(x86-64) = 3.3.21-3.el7_8 for package: opensm-devel-3.3.21-3.el7_8.x86_64
--> Processing Dependency: libosmvendor.so.4()(64bit) for package: opensm-devel-3.3.21-3.el7_8.x86_64
--> Processing Dependency: libosmcomp.so.4()(64bit) for package: opensm-devel-3.3.21-3.el7_8.x86_64
--> Processing Dependency: libopensm.so.8()(64bit) for package: opensm-devel-3.3.21-3.el7_8.x86_64
---> Package python3-devel.x86_64 0:3.6.8-13.el7 will be installed
--> Processing Dependency: python3-rpm-generators for package: python3-devel-3.6.8-13.el7.x86_64
---> Package webkitgtk-devel.x86_64 0:2.4.9-3.el7.nux will be installed
--> Processing Dependency: webkitgtk = 2.4.9-3.el7.nux for package: webkitgtk-devel-2.4.9-3.el7.nux.x86_64
--> Processing Dependency: libwebkitgtk-1.0.so.0()(64bit) for package: webkitgtk-devel-2.4.9-3.el7.nux.x86_64
--> Processing Dependency: libjavascriptcoregtk-1.0.so.0()(64bit) for package: webkitgtk-devel-2.4.9-3.el7.nux.x86_64
--> Running transaction check
---> Package freeglut.x86_64 0:3.0.0-8.el7 will be installed
---> Package libtiff.x86_64 0:4.0.3-27.el7_3 will be updated
---> Package libtiff.x86_64 0:4.0.3-32.el7 will be an update
---> Package mesa-khr-devel.x86_64 0:18.3.4-7.el7_8.1 will be installed
---> Package mesa-libGL.x86_64 0:18.0.5-4.el7_6 will be updated
---> Package mesa-libGL.x86_64 0:18.3.4-7.el7_8.1 will be an update
--> Processing Dependency: mesa-libglapi = 18.3.4-7.el7_8.1 for package: mesa-libGL-18.3.4-7.el7_8.1.x86_64
---> Package openjpeg.x86_64 0:1.5.1-18.el7 will be installed
---> Package opensm-libs.x86_64 0:3.3.21-3.el7_8 will be installed
--> Processing Dependency: libibumad.so.3(IBUMAD_1.0)(64bit) for package: opensm-libs-3.3.21-3.el7_8.x86_64
--> Processing Dependency: libibumad.so.3()(64bit) for package: opensm-libs-3.3.21-3.el7_8.x86_64
---> Package python3-rpm-generators.noarch 0:6-2.el7 will be installed
---> Package webkitgtk.x86_64 0:2.4.9-3.el7.nux will be installed
--> Running transaction check
---> Package libibumad.x86_64 0:22.4-4.el7_8 will be installed
--> Processing Dependency: rdma-core(x86-64) = 22.4-4.el7_8 for package: libibumad-22.4-4.el7_8.x86_64
---> Package mesa-libglapi.x86_64 0:18.0.5-4.el7_6 will be updated
--> Processing Dependency: mesa-libglapi = 18.0.5-4.el7_6 for package: mesa-libOSMesa-18.0.5-4.el7_6.x86_64
--> Processing Dependency: mesa-libglapi = 18.0.5-4.el7_6 for package: mesa-libgbm-18.0.5-4.el7_6.x86_64
--> Processing Dependency: mesa-libglapi = 18.0.5-4.el7_6 for package: mesa-libGLES-18.0.5-4.el7_6.x86_64
---> Package mesa-libglapi.x86_64 0:18.3.4-7.el7_8.1 will be an update
--> Running transaction check
---> Package mesa-libGLES.x86_64 0:18.0.5-4.el7_6 will be updated
--> Processing Dependency: mesa-libGLES = 18.0.5-4.el7_6 for package: mesa-libGLES-devel-18.0.5-4.el7_6.x86_64
---> Package mesa-libGLES.x86_64 0:18.3.4-7.el7_8.1 will be an update
---> Package mesa-libOSMesa.x86_64 0:18.0.5-4.el7_6 will be updated
---> Package mesa-libOSMesa.x86_64 0:18.3.4-7.el7_8.1 will be an update
---> Package mesa-libgbm.x86_64 0:18.0.5-4.el7_6 will be updated
--> Processing Dependency: mesa-libgbm = 18.0.5-4.el7_6 for package: mesa-libEGL-18.0.5-4.el7_6.x86_64
---> Package mesa-libgbm.x86_64 0:18.3.4-7.el7_8.1 will be an update
---> Package rdma-core.x86_64 0:17.2-3.el7 will be updated
--> Processing Dependency: rdma-core(x86-64) = 17.2-3.el7 for package: libibverbs-17.2-3.el7.x86_64
--> Processing Dependency: rdma-core(x86-64) = 17.2-3.el7 for package: librdmacm-17.2-3.el7.x86_64
---> Package rdma-core.x86_64 0:22.4-4.el7_8 will be an update
--> Running transaction check
---> Package libibverbs.x86_64 0:17.2-3.el7 will be updated
---> Package libibverbs.x86_64 0:22.4-4.el7_8 will be an update
---> Package librdmacm.x86_64 0:17.2-3.el7 will be updated
---> Package librdmacm.x86_64 0:22.4-4.el7_8 will be an update
---> Package mesa-libEGL.x86_64 0:18.0.5-4.el7_6 will be updated
--> Processing Dependency: mesa-libEGL = 18.0.5-4.el7_6 for package: mesa-libEGL-devel-18.0.5-4.el7_6.x86_64
---> Package mesa-libEGL.x86_64 0:18.3.4-7.el7_8.1 will be an update
---> Package mesa-libGLES-devel.x86_64 0:18.0.5-4.el7_6 will be updated
---> Package mesa-libGLES-devel.x86_64 0:18.3.4-7.el7_8.1 will be an update
--> Running transaction check
---> Package mesa-libEGL-devel.x86_64 0:18.0.5-4.el7_6 will be updated
---> Package mesa-libEGL-devel.x86_64 0:18.3.4-7.el7_8.1 will be an update
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package                   Arch      Version                Repository     Size
================================================================================
Installing:
 freeglut-devel            x86_64    3.0.0-8.el7            base          116 k
 libXtst-devel             x86_64    1.2.3-1.el7            base           17 k
 openjpeg-devel            x86_64    1.5.1-18.el7           base          363 k
 opensm-devel              x86_64    3.3.21-3.el7_8         updates       192 k
 python3-devel             x86_64    3.6.8-13.el7           base          215 k
 webkitgtk-devel           x86_64    2.4.9-3.el7.nux        nux-dextop    557 k
Updating:
 libtiff-devel             x86_64    4.0.3-32.el7           base          474 k
 mesa-libGL-devel          x86_64    18.3.4-7.el7_8.1       updates       163 k
Installing for dependencies:
 freeglut                  x86_64    3.0.0-8.el7            base          185 k
 libibumad                 x86_64    22.4-4.el7_8           updates        24 k
 mesa-khr-devel            x86_64    18.3.4-7.el7_8.1       updates        19 k
 openjpeg                  x86_64    1.5.1-18.el7           base          190 k
 opensm-libs               x86_64    3.3.21-3.el7_8         updates        69 k
 python3-rpm-generators    noarch    6-2.el7                base           20 k
 webkitgtk                 x86_64    2.4.9-3.el7.nux        nux-dextop     12 M
Updating for dependencies:
 libibverbs                x86_64    22.4-4.el7_8           updates       268 k
 librdmacm                 x86_64    22.4-4.el7_8           updates        64 k
 libtiff                   x86_64    4.0.3-32.el7           base          171 k
 mesa-libEGL               x86_64    18.3.4-7.el7_8.1       updates       109 k
 mesa-libEGL-devel         x86_64    18.3.4-7.el7_8.1       updates        33 k
 mesa-libGL                x86_64    18.3.4-7.el7_8.1       updates       165 k
 mesa-libGLES              x86_64    18.3.4-7.el7_8.1       updates        16 k
 mesa-libGLES-devel        x86_64    18.3.4-7.el7_8.1       updates        60 k
 mesa-libOSMesa            x86_64    18.3.4-7.el7_8.1       updates       1.6 M
 mesa-libgbm               x86_64    18.3.4-7.el7_8.1       updates        39 k
 mesa-libglapi             x86_64    18.3.4-7.el7_8.1       updates        46 k
 rdma-core                 x86_64    22.4-4.el7_8           updates        51 k
 
Transaction Summary
================================================================================
Install  6 Packages (+ 7 Dependent packages)
Upgrade  2 Packages (+12 Dependent packages)
 
Total size: 17 M
Total download size: 14 M
Downloading packages:
(1/12): libXtst-devel-1.2.3-1.el7.x86_64.rpm               |  17 kB   00:00
(2/12): libibumad-22.4-4.el7_8.x86_64.rpm                  |  24 kB   00:00
(3/12): freeglut-3.0.0-8.el7.x86_64.rpm                    | 185 kB   00:00
(4/12): freeglut-devel-3.0.0-8.el7.x86_64.rpm              | 116 kB   00:00
(5/12): openjpeg-devel-1.5.1-18.el7.x86_64.rpm             | 363 kB   00:00
(6/12): opensm-devel-3.3.21-3.el7_8.x86_64.rpm             | 192 kB   00:00
(7/12): python3-devel-3.6.8-13.el7.x86_64.rpm              | 215 kB   00:00
(8/12): python3-rpm-generators-6-2.el7.noarch.rpm          |  20 kB   00:00
(9/12): openjpeg-1.5.1-18.el7.x86_64.rpm                   | 190 kB   00:00
(10/12): opensm-libs-3.3.21-3.el7_8.x86_64.rpm             |  69 kB   00:00
(11/12): webkitgtk-devel-2.4.9-3.el7.nux.x86_64.rpm        | 557 kB   00:01
(12/12): webkitgtk-2.4.9-3.el7.nux.x86_64.rpm              |  12 MB   00:02
--------------------------------------------------------------------------------
Total                                              5.1 MB/s |  14 MB  00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : mesa-libglapi-18.3.4-7.el7_8.1.x86_64                       1/41
  Installing : mesa-khr-devel-18.3.4-7.el7_8.1.x86_64                      2/41
  Updating   : rdma-core-22.4-4.el7_8.x86_64                               3/41
  Updating   : libtiff-4.0.3-32.el7.x86_64                                 4/41
  Installing : openjpeg-1.5.1-18.el7.x86_64                                5/41
  Updating   : libibverbs-22.4-4.el7_8.x86_64                              6/41
  Installing : libibumad-22.4-4.el7_8.x86_64                               7/41
  Installing : opensm-libs-3.3.21-3.el7_8.x86_64                           8/41
  Updating   : mesa-libGL-18.3.4-7.el7_8.1.x86_64                          9/41
  Updating   : mesa-libGL-devel-18.3.4-7.el7_8.1.x86_64                   10/41
  Updating   : mesa-libGLES-18.3.4-7.el7_8.1.x86_64                       11/41
  Updating   : mesa-libgbm-18.3.4-7.el7_8.1.x86_64                        12/41
  Updating   : mesa-libEGL-18.3.4-7.el7_8.1.x86_64                        13/41
  Installing : freeglut-3.0.0-8.el7.x86_64                                14/41
  Installing : webkitgtk-2.4.9-3.el7.nux.x86_64                           15/41
  Installing : python3-rpm-generators-6-2.el7.noarch                      16/41
  Installing : python3-devel-3.6.8-13.el7.x86_64                          17/41
  Installing : webkitgtk-devel-2.4.9-3.el7.nux.x86_64                     18/41
  Installing : freeglut-devel-3.0.0-8.el7.x86_64                          19/41
  Updating   : mesa-libEGL-devel-18.3.4-7.el7_8.1.x86_64                  20/41
  Updating   : mesa-libGLES-devel-18.3.4-7.el7_8.1.x86_64                 21/41
  Installing : opensm-devel-3.3.21-3.el7_8.x86_64                         22/41
  Updating   : librdmacm-22.4-4.el7_8.x86_64                              23/41
  Installing : openjpeg-devel-1.5.1-18.el7.x86_64                         24/41
  Updating   : libtiff-devel-4.0.3-32.el7.x86_64                          25/41
  Updating   : mesa-libOSMesa-18.3.4-7.el7_8.1.x86_64                     26/41
  Installing : libXtst-devel-1.2.3-1.el7.x86_64                           27/41
  Cleanup    : mesa-libGL-devel-18.0.5-4.el7_6.x86_64                     28/41
  Cleanup    : mesa-libGLES-devel-18.0.5-4.el7_6.x86_64                   29/41
  Cleanup    : mesa-libGLES-18.0.5-4.el7_6.x86_64                         30/41
  Cleanup    : mesa-libEGL-devel-18.0.5-4.el7_6.x86_64                    31/41
  Cleanup    : libtiff-devel-4.0.3-27.el7_3.x86_64                        32/41
  Cleanup    : mesa-libEGL-18.0.5-4.el7_6.x86_64                          33/41
  Cleanup    : librdmacm-17.2-3.el7.x86_64                                34/41
  Cleanup    : libibverbs-17.2-3.el7.x86_64                               35/41
  Cleanup    : mesa-libgbm-18.0.5-4.el7_6.x86_64                          36/41
  Cleanup    : mesa-libGL-18.0.5-4.el7_6.x86_64                           37/41
  Cleanup    : mesa-libOSMesa-18.0.5-4.el7_6.x86_64                       38/41
  Cleanup    : mesa-libglapi-18.0.5-4.el7_6.x86_64                        39/41
  Cleanup    : rdma-core-17.2-3.el7.x86_64                                40/41
  Cleanup    : libtiff-4.0.3-27.el7_3.x86_64                              41/41
  Verifying  : rdma-core-22.4-4.el7_8.x86_64                               1/41
  Verifying  : python3-rpm-generators-6-2.el7.noarch                       2/41
  Verifying  : mesa-libOSMesa-18.3.4-7.el7_8.1.x86_64                      3/41
  Verifying  : mesa-libGL-18.3.4-7.el7_8.1.x86_64                          4/41
  Verifying  : libibverbs-22.4-4.el7_8.x86_64                              5/41
  Verifying  : mesa-libEGL-18.3.4-7.el7_8.1.x86_64                         6/41
  Verifying  : mesa-khr-devel-18.3.4-7.el7_8.1.x86_64                      7/41
  Verifying  : webkitgtk-devel-2.4.9-3.el7.nux.x86_64                      8/41
  Verifying  : libtiff-devel-4.0.3-32.el7.x86_64                           9/41
  Verifying  : mesa-libEGL-devel-18.3.4-7.el7_8.1.x86_64                  10/41
  Verifying  : mesa-libGLES-devel-18.3.4-7.el7_8.1.x86_64                 11/41
  Verifying  : mesa-libGLES-18.3.4-7.el7_8.1.x86_64                       12/41
  Verifying  : opensm-libs-3.3.21-3.el7_8.x86_64                          13/41
  Verifying  : freeglut-devel-3.0.0-8.el7.x86_64                          14/41
  Verifying  : libXtst-devel-1.2.3-1.el7.x86_64                           15/41
  Verifying  : mesa-libglapi-18.3.4-7.el7_8.1.x86_64                      16/41
  Verifying  : python3-devel-3.6.8-13.el7.x86_64                          17/41
  Verifying  : mesa-libGL-devel-18.3.4-7.el7_8.1.x86_64                   18/41
  Verifying  : libibumad-22.4-4.el7_8.x86_64                              19/41
  Verifying  : openjpeg-1.5.1-18.el7.x86_64                               20/41
  Verifying  : librdmacm-22.4-4.el7_8.x86_64                              21/41
  Verifying  : opensm-devel-3.3.21-3.el7_8.x86_64                         22/41
  Verifying  : openjpeg-devel-1.5.1-18.el7.x86_64                         23/41
  Verifying  : libtiff-4.0.3-32.el7.x86_64                                24/41
  Verifying  : mesa-libgbm-18.3.4-7.el7_8.1.x86_64                        25/41
  Verifying  : webkitgtk-2.4.9-3.el7.nux.x86_64                           26/41
  Verifying  : freeglut-3.0.0-8.el7.x86_64                                27/41
  Verifying  : libtiff-4.0.3-27.el7_3.x86_64                              28/41
  Verifying  : mesa-libGL-devel-18.0.5-4.el7_6.x86_64                     29/41
  Verifying  : mesa-libGLES-devel-18.0.5-4.el7_6.x86_64                   30/41
  Verifying  : rdma-core-17.2-3.el7.x86_64                                31/41
  Verifying  : mesa-libgbm-18.0.5-4.el7_6.x86_64                          32/41
  Verifying  : libtiff-devel-4.0.3-27.el7_3.x86_64                        33/41
  Verifying  : mesa-libOSMesa-18.0.5-4.el7_6.x86_64                       34/41
  Verifying  : mesa-libGL-18.0.5-4.el7_6.x86_64                           35/41
  Verifying  : mesa-libEGL-devel-18.0.5-4.el7_6.x86_64                    36/41
  Verifying  : mesa-libGLES-18.0.5-4.el7_6.x86_64                         37/41
  Verifying  : mesa-libEGL-18.0.5-4.el7_6.x86_64                          38/41
  Verifying  : librdmacm-17.2-3.el7.x86_64                                39/41
  Verifying  : libibverbs-17.2-3.el7.x86_64                               40/41
  Verifying  : mesa-libglapi-18.0.5-4.el7_6.x86_64                        41/41
 
Installed:
  freeglut-devel.x86_64 0:3.0.0-8.el7  libXtst-devel.x86_64 0:1.2.3-1.el7
  openjpeg-devel.x86_64 0:1.5.1-18.el7 opensm-devel.x86_64 0:3.3.21-3.el7_8
  python3-devel.x86_64 0:3.6.8-13.el7  webkitgtk-devel.x86_64 0:2.4.9-3.el7.nux
 
Dependency Installed:
  freeglut.x86_64 0:3.0.0-8.el7
  libibumad.x86_64 0:22.4-4.el7_8
  mesa-khr-devel.x86_64 0:18.3.4-7.el7_8.1
  openjpeg.x86_64 0:1.5.1-18.el7
  opensm-libs.x86_64 0:3.3.21-3.el7_8
  python3-rpm-generators.noarch 0:6-2.el7
  webkitgtk.x86_64 0:2.4.9-3.el7.nux
 
Updated:
  libtiff-devel.x86_64 0:4.0.3-32.el7
  mesa-libGL-devel.x86_64 0:18.3.4-7.el7_8.1
 
Dependency Updated:
  libibverbs.x86_64 0:22.4-4.el7_8
  librdmacm.x86_64 0:22.4-4.el7_8
  libtiff.x86_64 0:4.0.3-32.el7
  mesa-libEGL.x86_64 0:18.3.4-7.el7_8.1
  mesa-libEGL-devel.x86_64 0:18.3.4-7.el7_8.1
  mesa-libGL.x86_64 0:18.3.4-7.el7_8.1
  mesa-libGLES.x86_64 0:18.3.4-7.el7_8.1
  mesa-libGLES-devel.x86_64 0:18.3.4-7.el7_8.1
  mesa-libOSMesa.x86_64 0:18.3.4-7.el7_8.1
  mesa-libgbm.x86_64 0:18.3.4-7.el7_8.1
  mesa-libglapi.x86_64 0:18.3.4-7.el7_8.1
  rdma-core.x86_64 0:22.4-4.el7_8
 
Complete!

Paso 3:

1
yum install -y webkitgtk4-devel gtk2-devel

Resultado:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dieciséis
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[root@tutorialspots ~]# yum install -y webkitgtk4-devel gtk2-devel
Loaded plugins: fastestmirror, langpacks