Skip to content

Home

R

R语言教程

conda create -n renv -c conda-forge
conda install r-base r-essentials -c conda-forge

Fortran (Temporary)

用 VS Code + MSYS 搞定 Windows 上的 Fortran 开发

Welcome to Python.org

scoop install msys2

将MSYS2 MinGW集成到Windows终端_msys2 win7-CSDN博客

1
2
3
4
5
6
# msys2 terminal 配置
%USERPROFILE%\scoop\apps\msys2\current\msys2_shell.cmd -defterm -no-start -use-full-path -here -mingw64

%USERPROFILE%

%USERPROFILE%\scoop\apps\msys2\current\mingw64.ico

MSYS2 - USTC Mirror Help

1
2
3
4
sed -i "s#mirror.msys2.org/#mirrors.ustc.edu.cn/msys2/#g" /etc/pacman.d/mirrorlist*
pacman -Sy
pacman -S mingw-w64-x86_64-gcc-fortran
pacman -S mingw-w64-x86_64-gdb

添加环境变量%USERPROFILE%\scoop\apps\msys2\current\mingw64\bin

gfortran --version

Get Started - fortls

配置fortls和fprettify的path

"Had trouble installing fortls, please install manually" . How to install manually without pip? - Help / Visual Studio Code - Fortran Discourse

"fortran.fortls.path": "<your prefix root>/Scripts/fortls.exe"

1
2
3
# 在conda base环境安装
C:\Users\Qiao\miniforge3\Scripts\fprettify.exe
C:\Users\Qiao\miniforge3\Scripts\fortls.exe

MSYS2 + VSCode 在 windows 上搭建 C/C++ 开发环境 | Keep | 设置 C_Cpp 编译器路径

Visual Studio Code 中的 C++ 和 MinGW-w64 入门

最终配置文件参照用 VS Code + MSYS 搞定 Windows 上的 Fortran 开发

Python

geemap

1. Introducing GEE and Geemap — Geospatial Data Science with Earth Engine and Geemap

1
2
3
4
5
6
conda create -n gee python
conda activate gee
conda install -c conda-forge geemap

conda install -c conda-forge mamba
mamba install -c conda-forge pygis