当前位置:网站首页>Detailed installation steps and environment configuration of geemap
Detailed installation steps and environment configuration of geemap
2022-08-10 22:40:00 【BetterQ.】
记录一下关于geemap的安装步骤,geemap是基于GEEA package developed by teacher Wu Qiusheng,geemap主要使用pythonto implement related functions,可以说是GEE的python版,而且相比于GEE,geemap也更加简单方便,It is easy to get started with processing data to implement related functions.
1. 下载并安装python
如果电脑上已经安装了python可以直接略过这一步.
python安装包官网:https://www.python.org/downloads/windows/
After entering the website, the interface is as follows,You can select the corresponding version to download according to your needs,分为2.x和3.x版本,不过2.xVersions have been gradually being made3.x取代,建议下载3.x版本的,It is also best not to download the latest version,dddd,我这里下载的是3.10版本的.After downloading the installation package, just follow the prompts to install it.
2. 下载并安装Miniconda
首先下载并安装Miniconda
,下载网址:https://docs.conda.io/en/latest/miniconda.html
打开网址后,Choose to download and install according to the computer configuration64或32位的程序,Download the installation package and follow the prompts to install it,安装过程较为简单.
3. 创建conda环境
安装好Miniconda后,选择Anaconda Prompt(miniconda3)
,鼠标右键点击,以管理员身份运行.
A command window will pop up after running
Then enter the following commands in sequence in the command window,To lose one by one,Don't copy it all at once.This process requires opening that software...
1.Create a new environment named gee
.这里的python=3.10
可以只写python
,Or according to your ownpython版本进行指定,But it is best to specify the installationpython版本
conda create -n gee python = 3.10
2.激活gee环境
conda activate gee
3.安装mamba,geeThe relevant environment is passedmamba来安装的,所以要先安装mamba
conda install -c conda-forge mamba
4.安装geemap环境,这个过程会比较漫长,It depends on the speed of the software you are using,耐心等待安装完成.
mamba install -c conda-forge geemap pygis
至此,geemapThe installation environment is configured.
4.打开jupyter lab
重新打开minconda命令窗口,在minconda 的命令行输入conda activate gee
,接着输入jupyter lab
,will then openjupyter lab.打开后新建文件,输入以下代码:
import ee
import geemap
Map=geemap.Map()
Map
如果出现如下界面,则说明成功了,否则,You need to configure the port.
5. 设置端口
How to check the proxy port number:https://zhuanlan.zhihu.com/p/269419231
设置方法1:
import geemap
geemap.set_proxy(port='own computer port number')
设置方法2:
import os
os.enviorn['HTTP_PROXY']='http://127.0.0.1:own computer port number'
os.environ['HTTPS_PROXY'] = 'http://127.0.0.1:own computer port number'
这样就可以正常使用geemap了,打完收工!
边栏推荐
- 深度学习之 12 循环神经网络RNN2
- Nodes in the linked list are flipped in groups of k
- A shell script the for loop statements, while statement
- 交换机和生成树知识点
- 黑猫带你学Makefile第13篇:Makefile编译问题合集
- Likou 215 questions, the Kth largest element in an array
- make & cmake
- 2022.8.8 Selected Lectures on Good Topics (Number Theory Field)
- QT笔记——QT工具uic,rcc,moc,qmake的使用和介绍
- 68:第六章:开发文章服务:1:内容梳理;article表介绍;创建【article】文章服务;
猜你喜欢
Service - DNS forward and reverse domain name resolution service
FPGA - Memory Resources of 7 Series FPGA Internal Structure -03- Built-in Error Correction Function
Play RT-THREAD of doxygen
爬虫request.get()出现错误
Conditional Statements of Shell Programming (2)
电力系统潮流计算(牛顿-拉夫逊法、高斯-赛德尔法、快速解耦法)(Matlab代码实现)
C # Hex file transfer skills necessary article 】 【 bin file code implementation
Service - DHCP principle and configuration
Exploration and practice of the "zero trust" protection and data security governance system of the ransomware virus of Meichuang Technology
shell脚本
随机推荐
shell脚本循环语句for、while语句
2022年8月10日:使用 ASP.NET Core 为初学者构建 Web 应用程序--使用 ASP.NET Core 创建 Web UI(没看懂需要再看一遍)
商家招募电商主播要考虑哪些内容
OneNote 教程,如何在 OneNote 中整理笔记本?
Translating scientific and technological papers, how to translate from Russian to Chinese
xshell (sed command)
Likou 215 questions, the Kth largest element in an array
JS中使用正则表达式g模式和非g模式的区别
How to translate financial annual report, why choose a professional translation company?
shell programming without interaction
Research on multi-element N-k fault model of power system based on AC power flow (implemented by Matlab code) [Power System Fault]
罗克韦尔AB PLC RSLogix5000中计数器指令使用方法介绍
camera预览流程 --- 从HAL到OEM
[SQL brush questions] Day3----Special exercises for common functions that SQL must know
IM 即时通讯开发如何设计图片文件的服务端存储架构
String类的常用方法
FPGA - Memory Resources of 7 Series FPGA Internal Structure -03- Built-in Error Correction Function
【开源教程5】疯壳·开源编队无人机-飞控固件烧写
Shell 编程--Sed
VLAN huawei 三种模式