0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

開発環境構築最低限

0
Last updated at Posted at 2025-04-28

Miniconda

miniconda install

公式

Miniconda 初期化を忘れずに!

if you use WSL (Ubuntu) on Win PC

On the ubuntu terminal

  1. wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh (ここは上記公式サイトに従って適宜変えてね!)
  2. bash ~/Miniconda3-latest-Linux-x86_64.sh
  3. sudo apt install g++ pkg-config
  4. conda config --add channels conda-forge

miniconda useful commands

仮想環境作成

conda create -n your_env_name python=3.x.y

環境の中に入る

conda activate your_env_name

環境から出る

conda deactivate

環境一覧を見る

conda info -e

今いる環境のパッケージ一覧

conda list

今いる環境にパッケージ追加

conda install xxxxx

今いる環境のパッケージ削除

conda uninstall xxxxx

環境を削除する
(conda deactivate してから行う)

conda remove --name your_env_name --all

yml に環境を保存する

conda env export > /Path/to/save/env/dir/your_env_name.yml

or

conda env export -n your_env_name > /Path/to/save/env/dir/your_env_name.yml

【conda】既存環境のyml書き出しから新環境を構築するまでのメモ

or

conda env export --clean > /Path/to/save/env/dir/your_env_name.yml

yml から環境構築

conda env create -f /Path/to/save/env/dir/your_env_name.yml

VSCode

VSCode install

公式

オヌヌメ設定

  1. VSCode 開いて左下の歯車マーク
  2. Settings
  3. 右上の小さいアイコン (Open Settings (JSON))
{
    "security.workspace.trust.untrustedFiles": "open",
    "editor.rulers": [80],
    "editor.renderWhitespace": "all",
    "diffEditor.useInlineViewWhenSpaceIsLimited": false,
}

歯車 → Settings → Commonly Used → Editor Tab Size
4 がいいかなと思う。

必要であれば改行コード設定
歯車 → Settings → Search Settings バーに「eol」と入れる → \n (LF) にする

Git / GitHub

Git のインストール、GitHub への SSH 接続、clone、branch、commit、pushなどの基本操作はこちら
        ↓↓↓↓↓

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?