白鹭先生 commited on
Commit
dfb47f6
·
1 Parent(s): 2cf3aa7
Files changed (3) hide show
  1. app.py +1 -2
  2. packages.txt +1 -1
  3. requirements.txt +1 -0
app.py CHANGED
@@ -2,7 +2,7 @@
2
  Author: Egrt
3
  Date: 2022-03-19 10:23:48
4
  LastEditors: Egrt
5
- LastEditTime: 2022-03-20 16:00:50
6
  FilePath: \Luuu\app.py
7
  '''
8
 
@@ -11,7 +11,6 @@ import gradio as gr
11
  import os
12
 
13
  os.system('apt install libgl1-mesa-glx')
14
- os.system('pip install GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl')
15
  os.system('pip install requirements.txt')
16
  from zipfile import ZipFile
17
  gis = GIS()
 
2
  Author: Egrt
3
  Date: 2022-03-19 10:23:48
4
  LastEditors: Egrt
5
+ LastEditTime: 2022-03-20 16:04:35
6
  FilePath: \Luuu\app.py
7
  '''
8
 
 
11
  import os
12
 
13
  os.system('apt install libgl1-mesa-glx')
 
14
  os.system('pip install requirements.txt')
15
  from zipfile import ZipFile
16
  gis = GIS()
packages.txt CHANGED
@@ -1,2 +1,2 @@
1
  python3-opencv
2
- python3-gdal
 
1
  python3-opencv
2
+ libgdal-dev
requirements.txt CHANGED
@@ -15,6 +15,7 @@ skan==0.10.0
15
  descartes==1.1.0
16
  multiprocess==0.70.12.2
17
  dill==0.3.4
 
18
  rasterio==1.2.10
19
  overpy==0.6
20
  pyproj==2.5.0
 
15
  descartes==1.1.0
16
  multiprocess==0.70.12.2
17
  dill==0.3.4
18
+ gdal==3.4.1
19
  rasterio==1.2.10
20
  overpy==0.6
21
  pyproj==2.5.0