Python环境(5):win/linux配置即用conda环境以运行脚本

【conda基础环境完结篇5】前面已经记录了一些基础概念和如何安装配置环境,这里共享我本机的conda环境(涵盖常见矢量栅格处理包),可以直接下载yml文件安装,安装完即可用,也可在其他系统中直接安装如ubuntu系统,输入相应的命令完成配置。所以如果从0开始配置环境的话,只需参照Python环境(2)及本博客。

环境配置

Window下环境配置

如果需要安装其他包自行再安装即可,我使用的是3.9的Python环境,当前GIS数据处理推荐

这里是我导出的yml文件,下载后通过命令行或者Anaconda Prompt进入base环境,路径自行修改,如果需要自定义环境名称请使用文本编辑器打开yml文件第一行修改。安装完后激活使用即可(不需要梯子可完成安装,如遇网路问题多试几次),

1
2
3
(base) C:\Users\huangs\Desktop\test>conda env create -f C:\Users\huangs\Desktop\test\geop20220918.yml
# 激活环境
(base) C:\Users\huangs\Desktop\test>conda activate geop

也可以自己手动执行如下命令,尽管用到的包很多,但是由于包之间的依赖关系,仅安装部分包就可以完成大量包的安装,如先安装geopandas会安装依赖fiona,gdal, hdf4, hdf5, networkx, shapely, numpy, pandas, scipy, pillow, requests, scikit-learn等等包,非常省事,其中安装openpyxl是pandas导出xlsx文件的需要。

1
2
3
4
5
6
7
8
9
10
11
12
conda create -n geop python=3.9
conda activate geop
conda install -c conda-forge geopandas
conda install -c conda-forge rasterio rasterstats
conda install -c conda-forge netcdf4
conda install -c conda-forge scikit-learn scikit-image
conda install -c anaconda openpyxl
conda install -c conda-forge matplotlib seaborn bokeh cartopy
conda install -c conda-forge ipykernel
# 可选,如果需要使用jupyter lab或者jupyter notebook的安装
conda install -c conda-forge jupyterlab
# 或者conda install -c conda-forge jupyter notebook

linux环境配置

不能使用yml文件直接安装,有些包安装不了

以下过程在ubuntu22.04系统运行无误

1
2
3
4
5
6
7
8
9
10
11
12
13
# 通过命令行或者Anaconda Prompt进入base环境
conda create -n geop python=3.9
conda activate geop
conda install -c conda-forge geopandas
conda install -c conda-forge rasterio rasterstats
conda install -c conda-forge scikit-learn scikit-image
conda install -c conda-forge netcdf4
conda install -c anaconda openpyxl
conda install -c conda-forge matplotlib seaborn bokeh cartopy
conda install -c conda-forge ipykernel
# 可选
conda install -c conda-forge jupyterlab
# 或者conda install -c conda-forge jupyter notebook

(选读)本机win测试安装过程

记录了一下测试的全过程,从创建到安装到删除环境,方便查看依赖和回顾,也可以看到哪些包占空间大。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
65
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
(base) C:\Users\huangs\Desktop\test>conda create -n geop python=3.9
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0

Please update conda by running

$ conda update -n base -c defaults conda



## Package Plan ##

environment location: D:\Miniconda3\envs\geop

added / updated specs:
- python=3.9


The following packages will be downloaded:

package | build
---------------------------|-----------------
ca-certificates-2022.9.14 | h5b45459_0 189 KB conda-forge
libzlib-1.2.12 | hcfcfb64_3 71 KB conda-forge
openssl-3.0.5 | hcfcfb64_2 7.8 MB conda-forge
python-3.9.13 |hcf16a7b_0_cpython 17.9 MB conda-forge
tzdata-2022c | h191b570_0 119 KB conda-forge
------------------------------------------------------------
Total: 26.1 MB

The following NEW packages will be INSTALLED:

done
#
# To activate this environment, use
#
# $ conda activate geop
#
# To deactivate an active environment, use
#
# $ conda deactivate


(base) C:\Users\huangs\Desktop\test>conda activate geop

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge geopandas
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0

Please update conda by running

$ conda update -n base -c defaults conda



## Package Plan ##

environment location: D:\Miniconda3\envs\geop

added / updated specs:
- geopandas


The following packages will be downloaded:

package | build
---------------------------|-----------------
attrs-22.1.0 | pyh71513ae_1 48 KB conda-forge
boost-cpp-1.78.0 | h9f4b32c_1 17.1 MB conda-forge
brotlipy-0.7.0 |py39hb82d6ee_1004 329 KB conda-forge
cairo-1.16.0 | hd694305_1013 2.3 MB conda-forge
certifi-2022.9.14 | pyhd8ed1ab_0 156 KB conda-forge
cffi-1.15.1 | py39h0878f49_0 223 KB conda-forge
charset-normalizer-2.1.1 | pyhd8ed1ab_0 36 KB conda-forge
click-8.1.3 | py39hcbf5309_0 146 KB conda-forge
contourpy-1.0.5 | py39h1f6ef14_0 173 KB conda-forge
fiona-1.8.21 | py39h0a5cb73_2 892 KB conda-forge
fonttools-4.37.2 | py39ha55989b_0 1.7 MB conda-forge
freetype-2.12.1 | h546665d_0 506 KB conda-forge
gdal-3.5.2 | py39hddddcaf_0 1.6 MB conda-forge
hdf4-4.2.15 | h0e5069d_4 1.1 MB conda-forge
hdf5-1.12.2 |nompi_h57737ce_100 24.0 MB conda-forge
joblib-1.2.0 | pyhd8ed1ab_0 205 KB conda-forge
kealib-1.4.15 | hdf81f3a_1 159 KB conda-forge
kiwisolver-1.4.4 | py39h2e07f2f_0 61 KB conda-forge
lerc-4.0.0 | h63175ca_0 190 KB conda-forge
libdeflate-1.14 | hcfcfb64_0 73 KB conda-forge
libgdal-3.5.2 | hec59f66_0 9.5 MB conda-forge
libkml-1.3.0 | hf2ab4e4_1015 2.9 MB conda-forge
libnetcdf-4.8.1 |nompi_h85765be_104 676 KB conda-forge
libpng-1.6.38 | h19919ed_0 773 KB conda-forge
libpq-14.5 | h1ea2d34_0 3.9 MB conda-forge
libssh2-1.10.0 | h9a1e1f7_3 228 KB conda-forge
libtiff-4.4.0 | h8e97e67_4 1.1 MB conda-forge
libwebp-base-1.2.4 | h8ffe710_0 328 KB conda-forge
libxml2-2.9.14 | hf5bbc77_4 3.4 MB conda-forge
libzip-1.9.2 | h519de47_1 143 KB conda-forge
markupsafe-2.1.1 | py39hb82d6ee_1 25 KB conda-forge
matplotlib-base-3.6.0 | py39haf65ace_0 7.5 MB conda-forge
networkx-2.8.6 | pyhd8ed1ab_0 1.6 MB conda-forge
numpy-1.23.3 | py39h9061af7_0 6.3 MB conda-forge
openjpeg-2.5.0 | hc9384bd_1 256 KB conda-forge
pandas-1.4.4 | py39h80a8885_0 11.2 MB conda-forge
pillow-9.2.0 | py39hcef8f5f_2 45.2 MB conda-forge
poppler-22.04.0 | hb57f792_3 2.7 MB conda-forge
postgresql-14.5 | he353ca9_0 23.3 MB conda-forge
pyproj-3.4.0 | py39h2de216b_0 412 KB conda-forge
pysocks-1.7.1 | pyh0701188_6 19 KB conda-forge
requests-2.28.1 | pyhd8ed1ab_1 53 KB conda-forge
rtree-1.0.0 | py39h09fdee3_1 49 KB conda-forge
scikit-learn-1.1.2 | py39hfd4428b_0 7.6 MB conda-forge
scipy-1.9.1 | py39h316f440_0 28.2 MB conda-forge
shapely-1.8.4 | py39he0923fe_0 408 KB conda-forge
tiledb-2.11.2 | h3132609_0 3.2 MB conda-forge
unicodedata2-14.0.0 | py39hb82d6ee_1 492 KB conda-forge
win_inet_pton-1.1.0 | py39hcbf5309_4 9 KB conda-forge
zlib-1.2.12 | hcfcfb64_3 116 KB conda-forge
zstd-1.5.2 | h7755175_4 401 KB conda-forge
------------------------------------------------------------
Total: 212.7 MB

The following NEW packages will be INSTALLED:

attrs conda-forge/noarch::attrs-22.1.0-pyh71513ae_1
blosc conda-forge/win-64::blosc-1.21.1-h74325e0_3
boost-cpp conda-forge/win-64::boost-cpp-1.78.0-h9f4b32c_1
branca conda-forge/noarch::branca-0.5.0-pyhd8ed1ab_0
brotli conda-forge/win-64::brotli-1.0.9-h8ffe710_7
brotli-bin conda-forge/win-64::brotli-bin-1.0.9-h8ffe710_7
brotlipy conda-forge/win-64::brotlipy-0.7.0-py39hb82d6ee_1004
cairo conda-forge/win-64::cairo-1.16.0-hd694305_1013
certifi conda-forge/noarch::certifi-2022.9.14-pyhd8ed1ab_0
cffi conda-forge/win-64::cffi-1.15.1-py39h0878f49_0
cfitsio conda-forge/win-64::cfitsio-4.1.0-h5a969a9_0
charset-normalizer conda-forge/noarch::charset-normalizer-2.1.1-pyhd8ed1ab_0
click conda-forge/win-64::click-8.1.3-py39hcbf5309_0
click-plugins conda-forge/noarch::click-plugins-1.1.1-py_0
cligj conda-forge/noarch::cligj-0.7.2-pyhd8ed1ab_1
colorama conda-forge/noarch::colorama-0.4.5-pyhd8ed1ab_0
contourpy conda-forge/win-64::contourpy-1.0.5-py39h1f6ef14_0
cryptography pkgs/main/win-64::cryptography-37.0.1-py39h21b164f_0
curl conda-forge/win-64::curl-7.83.1-h789b8ee_0
cycler conda-forge/noarch::cycler-0.11.0-pyhd8ed1ab_0
expat conda-forge/win-64::expat-2.4.8-h39d44d4_0
fiona conda-forge/win-64::fiona-1.8.21-py39h0a5cb73_2
folium conda-forge/noarch::folium-0.12.1.post1-pyhd8ed1ab_1
font-ttf-dejavu-s~ conda-forge/noarch::font-ttf-dejavu-sans-mono-2.37-hab24e00_0
font-ttf-inconsol~ conda-forge/noarch::font-ttf-inconsolata-3.000-h77eed37_0
font-ttf-source-c~ conda-forge/noarch::font-ttf-source-code-pro-2.038-h77eed37_0
font-ttf-ubuntu conda-forge/noarch::font-ttf-ubuntu-0.83-hab24e00_0
fontconfig conda-forge/win-64::fontconfig-2.14.0-hce3cb01_0
fonts-conda-ecosy~ conda-forge/noarch::fonts-conda-ecosystem-1-0
fonts-conda-forge conda-forge/noarch::fonts-conda-forge-1-0
fonttools conda-forge/win-64::fonttools-4.37.2-py39ha55989b_0
freetype conda-forge/win-64::freetype-2.12.1-h546665d_0
freexl conda-forge/win-64::freexl-1.0.6-ha8e266a_0
gdal conda-forge/win-64::gdal-3.5.2-py39hddddcaf_0
geopandas conda-forge/noarch::geopandas-0.11.1-pyhd8ed1ab_0
geopandas-base conda-forge/noarch::geopandas-base-0.11.1-pyha770c72_0
geos conda-forge/win-64::geos-3.11.0-h39d44d4_0
geotiff conda-forge/win-64::geotiff-1.7.1-h714bc5f_3
gettext conda-forge/win-64::gettext-0.19.8.1-ha2e2712_1008
hdf4 conda-forge/win-64::hdf4-4.2.15-h0e5069d_4
hdf5 conda-forge/win-64::hdf5-1.12.2-nompi_h57737ce_100
icu conda-forge/win-64::icu-70.1-h0e60522_0
idna conda-forge/noarch::idna-3.3-pyhd8ed1ab_0
intel-openmp conda-forge/win-64::intel-openmp-2022.1.0-h57928b3_3787
jinja2 conda-forge/noarch::jinja2-3.1.2-pyhd8ed1ab_1
joblib conda-forge/noarch::joblib-1.2.0-pyhd8ed1ab_0
jpeg conda-forge/win-64::jpeg-9e-h8ffe710_2
kealib conda-forge/win-64::kealib-1.4.15-hdf81f3a_1
kiwisolver conda-forge/win-64::kiwisolver-1.4.4-py39h2e07f2f_0
krb5 conda-forge/win-64::krb5-1.19.3-hc8ab02b_0
lcms2 conda-forge/win-64::lcms2-2.12-h2a16943_0
lerc conda-forge/win-64::lerc-4.0.0-h63175ca_0
libblas conda-forge/win-64::libblas-3.9.0-16_win64_mkl
libbrotlicommon conda-forge/win-64::libbrotlicommon-1.0.9-h8ffe710_7
libbrotlidec conda-forge/win-64::libbrotlidec-1.0.9-h8ffe710_7
libbrotlienc conda-forge/win-64::libbrotlienc-1.0.9-h8ffe710_7
libcblas conda-forge/win-64::libcblas-3.9.0-16_win64_mkl
libcurl conda-forge/win-64::libcurl-7.83.1-h789b8ee_0
libdeflate conda-forge/win-64::libdeflate-1.14-hcfcfb64_0
libgdal conda-forge/win-64::libgdal-3.5.2-hec59f66_0
libglib conda-forge/win-64::libglib-2.72.1-h3be07f2_0
libiconv conda-forge/win-64::libiconv-1.16-he774522_0
libkml conda-forge/win-64::libkml-1.3.0-hf2ab4e4_1015
liblapack conda-forge/win-64::liblapack-3.9.0-16_win64_mkl
libnetcdf conda-forge/win-64::libnetcdf-4.8.1-nompi_h85765be_104
libpng conda-forge/win-64::libpng-1.6.38-h19919ed_0
libpq conda-forge/win-64::libpq-14.5-h1ea2d34_0
librttopo conda-forge/win-64::librttopo-1.1.0-h2842628_11
libspatialindex conda-forge/win-64::libspatialindex-1.9.3-h39d44d4_4
libspatialite conda-forge/win-64::libspatialite-5.0.1-ha17912d_18
libssh2 conda-forge/win-64::libssh2-1.10.0-h9a1e1f7_3
libtiff conda-forge/win-64::libtiff-4.4.0-h8e97e67_4
libwebp-base conda-forge/win-64::libwebp-base-1.2.4-h8ffe710_0
libxcb conda-forge/win-64::libxcb-1.13-hcd874cb_1004
libxml2 conda-forge/win-64::libxml2-2.9.14-hf5bbc77_4
libzip conda-forge/win-64::libzip-1.9.2-h519de47_1
lz4-c conda-forge/win-64::lz4-c-1.9.3-h8ffe710_1
m2w64-gcc-libgfor~ conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6
m2w64-gcc-libs conda-forge/win-64::m2w64-gcc-libs-5.3.0-7
m2w64-gcc-libs-co~ conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7
m2w64-gmp conda-forge/win-64::m2w64-gmp-6.1.0-2
m2w64-libwinpthre~ conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
mapclassify conda-forge/noarch::mapclassify-2.4.3-pyhd8ed1ab_0
markupsafe conda-forge/win-64::markupsafe-2.1.1-py39hb82d6ee_1
matplotlib-base conda-forge/win-64::matplotlib-base-3.6.0-py39haf65ace_0
mkl conda-forge/win-64::mkl-2022.1.0-h6a75c08_874
msys2-conda-epoch conda-forge/win-64::msys2-conda-epoch-20160418-1
munch conda-forge/noarch::munch-2.5.0-py_0
munkres conda-forge/noarch::munkres-1.1.4-pyh9f0ad1d_0
networkx conda-forge/noarch::networkx-2.8.6-pyhd8ed1ab_0
numpy conda-forge/win-64::numpy-1.23.3-py39h9061af7_0
openjpeg conda-forge/win-64::openjpeg-2.5.0-hc9384bd_1
packaging conda-forge/noarch::packaging-21.3-pyhd8ed1ab_0
pandas conda-forge/win-64::pandas-1.4.4-py39h80a8885_0
pcre conda-forge/win-64::pcre-8.45-h0e60522_0
pillow conda-forge/win-64::pillow-9.2.0-py39hcef8f5f_2
pixman conda-forge/win-64::pixman-0.40.0-h8ffe710_0
poppler conda-forge/win-64::poppler-22.04.0-hb57f792_3
poppler-data conda-forge/noarch::poppler-data-0.4.11-hd8ed1ab_0
postgresql conda-forge/win-64::postgresql-14.5-he353ca9_0
proj conda-forge/win-64::proj-9.0.1-h1cfcee9_1
pthread-stubs conda-forge/win-64::pthread-stubs-0.4-hcd874cb_1001
pycparser conda-forge/noarch::pycparser-2.21-pyhd8ed1ab_0
pyopenssl conda-forge/noarch::pyopenssl-22.0.0-pyhd8ed1ab_0
pyparsing conda-forge/noarch::pyparsing-3.0.9-pyhd8ed1ab_0
pyproj conda-forge/win-64::pyproj-3.4.0-py39h2de216b_0
pysocks conda-forge/noarch::pysocks-1.7.1-pyh0701188_6
python-dateutil conda-forge/noarch::python-dateutil-2.8.2-pyhd8ed1ab_0
python_abi conda-forge/win-64::python_abi-3.9-2_cp39
pytz conda-forge/noarch::pytz-2022.2.1-pyhd8ed1ab_0
requests conda-forge/noarch::requests-2.28.1-pyhd8ed1ab_1
rtree conda-forge/win-64::rtree-1.0.0-py39h09fdee3_1
scikit-learn conda-forge/win-64::scikit-learn-1.1.2-py39hfd4428b_0
scipy conda-forge/win-64::scipy-1.9.1-py39h316f440_0
shapely conda-forge/win-64::shapely-1.8.4-py39he0923fe_0
six conda-forge/noarch::six-1.16.0-pyh6c4a22f_0
snappy conda-forge/win-64::snappy-1.1.9-h82413e6_1
tbb conda-forge/win-64::tbb-2021.5.0-h91493d7_2
threadpoolctl conda-forge/noarch::threadpoolctl-3.1.0-pyh8a188c0_0
tiledb conda-forge/win-64::tiledb-2.11.2-h3132609_0
unicodedata2 conda-forge/win-64::unicodedata2-14.0.0-py39hb82d6ee_1
urllib3 conda-forge/noarch::urllib3-1.26.11-pyhd8ed1ab_0
win_inet_pton conda-forge/win-64::win_inet_pton-1.1.0-py39hcbf5309_4
xerces-c conda-forge/win-64::xerces-c-3.2.3-h0e60522_5
xorg-libxau conda-forge/win-64::xorg-libxau-1.0.9-hcd874cb_0
xorg-libxdmcp conda-forge/win-64::xorg-libxdmcp-1.1.3-hcd874cb_0
xyzservices conda-forge/noarch::xyzservices-2022.6.0-pyhd8ed1ab_0
zlib conda-forge/win-64::zlib-1.2.12-hcfcfb64_3
zstd conda-forge/win-64::zstd-1.5.2-h7755175_4


Proceed ([y]/n)? y


Downloading and Extracting Packages
openjpeg-2.5.0 | 256 KB | ######################################################################################## | 100%
cffi-1.15.1 | 223 KB | ######################################################################################## | 100%
joblib-1.2.0 | 205 KB | ######################################################################################## | 100%
gdal-3.5.2 | 1.6 MB | ######################################################################################## | 100%
tiledb-2.11.2 | 3.2 MB | ######################################################################################## | 100%
markupsafe-2.1.1 | 25 KB | ######################################################################################## | 100%
done

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge netcdf4
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0

Please update conda by running

$ conda update -n base -c defaults conda



## Package Plan ##

environment location: D:\Miniconda3\envs\geop

added / updated specs:
- netcdf4


The following packages will be downloaded:

package | build
---------------------------|-----------------
netcdf4-1.6.1 |nompi_py39h34fa13a_100 382 KB conda-forge
------------------------------------------------------------
Total: 382 KB

The following NEW packages will be INSTALLED:

cftime conda-forge/win-64::cftime-1.6.1-py39h5d4886f_0
netcdf4 conda-forge/win-64::netcdf4-1.6.1-nompi_py39h34fa13a_100


Proceed ([y]/n)? y


Downloading and Extracting Packages
netcdf4-1.6.1 | 382 KB | ######################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(geop) C:\Users\huangs\Desktop\test>conda install -c anaconda openpyxl
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0
done

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge cartopy
Collecting package metadata (current_repodata.json): done
Solving environment: done

done

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge seaborn
Collecting package metadata (current_repodata.json): done
done

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge matplotlib
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0

Please update conda by running

$ conda update -n base -c defaults conda



## Package Plan ##

environment location: D:\Miniconda3\envs\geop

added / updated specs:
- matplotlib


The following packages will be downloaded:

package | build
---------------------------|-----------------
gdal-3.5.2 | py39h27f735e_0 1.6 MB conda-forge
gst-plugins-base-1.20.3 | h001b923_1 2.4 MB conda-forge
gstreamer-1.20.3 | h6b5321d_1 2.1 MB conda-forge
hdf5-1.12.2 |nompi_h2a0e4a3_100 24.0 MB conda-forge
libgdal-3.5.2 | hc386656_0 9.5 MB conda-forge
libpq-14.5 | hfcc5ef8_0 3.8 MB conda-forge
libssh2-1.10.0 | h680486a_3 228 KB conda-forge
libzip-1.9.2 | hfed4ece_1 145 KB conda-forge
matplotlib-3.6.0 | py39hcbf5309_0 7 KB conda-forge
postgresql-14.5 | h1c22c4f_0 23.2 MB conda-forge
pyqt-5.15.7 | py39hb08f45d_0 4.7 MB conda-forge
pyqt5-sip-12.11.0 | py39h415ef7b_0 82 KB conda-forge
python-3.9.13 |h9a09f29_0_cpython 17.9 MB conda-forge
qt-main-5.15.6 | hf0cf448_0 68.8 MB conda-forge
sip-6.6.2 | py39h415ef7b_0 542 KB conda-forge
tiledb-2.11.2 | h5689973_0 3.2 MB conda-forge
tornado-6.2 | py39hb82d6ee_0 657 KB conda-forge
------------------------------------------------------------
Total: 162.9 MB

The following NEW packages will be INSTALLED:

glib conda-forge/win-64::glib-2.72.1-h7755175_0
glib-tools conda-forge/win-64::glib-tools-2.72.1-h7755175_0
gst-plugins-base conda-forge/win-64::gst-plugins-base-1.20.3-h001b923_1
gstreamer conda-forge/win-64::gstreamer-1.20.3-h6b5321d_1
libclang conda-forge/win-64::libclang-14.0.6-default_h77d9078_0
libclang13 conda-forge/win-64::libclang13-14.0.6-default_h77d9078_0
libogg conda-forge/win-64::libogg-1.3.4-h8ffe710_1
libvorbis conda-forge/win-64::libvorbis-1.3.7-h0e60522_0
done

done

(geop) C:\Users\huangs\Desktop\test>conda install -c conda-forge ipykernel
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
current version: 4.13.0
latest version: 4.14.0

Please update conda by running

$ conda update -n base -c defaults conda



## Package Plan ##

environment location: D:\Miniconda3\envs\geop

added / updated specs:
- ipykernel


The following packages will be downloaded:

package | build
---------------------------|-----------------
asttokens-2.0.8 | pyhd8ed1ab_0 24 KB conda-forge
debugpy-1.6.3 | py39h415ef7b_0 3.2 MB conda-forge
executing-1.0.0 | pyhd8ed1ab_0 19 KB conda-forge
ipykernel-6.15.3 | pyh025b116_0 100 KB conda-forge
ipython-8.5.0 | pyh08f2357_1 553 KB conda-forge
jedi-0.18.1 | pyhd8ed1ab_2 799 KB conda-forge
jupyter_client-7.3.5 | pyhd8ed1ab_0 91 KB conda-forge
jupyter_core-4.11.1 | py39hcbf5309_0 106 KB conda-forge
matplotlib-inline-0.1.6 | pyhd8ed1ab_0 12 KB conda-forge
prompt-toolkit-3.0.31 | pyha770c72_0 254 KB conda-forge
psutil-5.9.2 | py39ha55989b_0 364 KB conda-forge
pygments-2.13.0 | pyhd8ed1ab_0 821 KB conda-forge
pywin32-303 | py39hb82d6ee_0 6.9 MB conda-forge
pyzmq-24.0.0 | py39hea35a22_0 437 KB conda-forge
stack_data-0.5.0 | pyhd8ed1ab_0 24 KB conda-forge
traitlets-5.4.0 | pyhd8ed1ab_0 85 KB conda-forge
------------------------------------------------------------
Total: 13.6 MB

The following NEW packages will be INSTALLED:

asttokens conda-forge/noarch::asttokens-2.0.8-pyhd8ed1ab_0
backcall conda-forge/noarch::backcall-0.2.0-pyh9f0ad1d_0
backports conda-forge/noarch::backports-1.0-py_2
backports.functoo~ conda-forge/noarch::backports.functools_lru_cache-1.6.4-pyhd8ed1ab_0
debugpy conda-forge/win-64::debugpy-1.6.3-py39h415ef7b_0
done

(geop) C:\Users\huangs\Desktop\test>conda env export > C:\Users\huangs\Desktop\test\geop20220918.yml

(geop) C:\Users\huangs\Desktop\test>conda activate base
(base) C:\Users\huangs\Desktop\test>conda env create -f C:\Users\huangs\Desktop\test\geop20220918.yml
(geop) C:\Users\huangs\Desktop\test>conda remove --name geop_test --all