1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ubuntu(virtual box)にanacondaを構築してみた

1
Last updated at Posted at 2023-06-27

参考サイト
https://paper.hatenadiary.jp/entry/2016/12/14/171620

Anacondaをインストールする

Anacondaをダウンロードする

shを実行する

$ sh Anaconda3-2023.03-1-Linux-x86_64.sh

ライセンスに同意する

ディレクトリを指定する

既定値は /home/(user名)/anaconda3

conda initを実行する

インストール完了

仮想環境を作る

仮想環境を作る

$ conda create -n pythonenv python=3.10

-n の後に、仮想環境名を指定する

仮想環境一覧を確認する

$ conda env list

仮想環境を有効にする

$ conda activate pythonenv
$ conda env list

pythonenvが有効になったので、pythonenvの横に*がついた

vscodeをインストールする

下記記事を参照
https://qiita.com/towamz/items/5472226e0ea542db5548

vscodeに仮想環境のコンパイラを指定する

コンパイラをクリックする

右下のpythonの横

コンパイラを選択する

コンパイラが変更された

動作確認する

Hello Worldが表示された

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?