Migrate Conda Environments

This post describes how to migrate conda environments. It is assumed that you have user-only conda and system-wide conda as described in the post. Save the full list of packages for all environments (except the base environment) Check the existing environments. conda info --envs Save the list for each environment. conda list -n <env-name> --explicit > <env-name>.spec This is an example. $ is the command I typed and others are the output of the command....

May 8, 2024 · (updated May 9, 2024) · Hyonyoung Choi

Install Go in MacOS

I have installed go-lang on my MacBook M2 Pro to compile hugo from the source code. Download Site: https://go.dev/dl Current: https://go.dev/dl/go1.22.1.darwin-arm64.tar.gz Install cd Downloads curl -OJL https://go.dev/dl/go1.22.1.darwin-arm64.tar.gz tar xf go1.22.1.darwin-amd64.tar.gz sudo mv go /usr/local echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.zshrc source ~/.zshrc Configure Local Folders GOPATH: The folder to manage packages. GOBIN: The folder to locate the package binary. mkdir ~/.local/go echo 'export GOPATH=~/.local/go' >> ~/.zshrc echo 'export GOBIN=~/.local/bin' >> ~/.zshrc source ~/....

March 10, 2024 · (updated March 11, 2024) · Hyonyoung Choi