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?

More than 3 years have passed since last update.

Python の仮想環境からの脱出 〜自分の作った仮想環境に閉じ込められかけた話〜

Posted at

前枠

久しぶりに開発しようとMac開いたら,結構前に作った仮想環境に勝手に入ってからしばらく出られなかった.
調べてみると,コマンドが違った模様.

環境

  • macOS Catalina 10.15.4
  • conda 4.6.11

どう解決したのか

入ったとき

(base)$

仮想環境から出たい

(base)$ deactivate
bash: deactivate: command not found
(base)$ source deactivate
bash: deactiate: No such file or directory

ダメらしい.

調べてみると同じような症状の人がいた.

(base)$ conda deactivate
$

脱出完了

後枠

仮想環境はまだ慣れない….
使っていくしかないかな.

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?