LoginSignup
0
0

More than 3 years have passed since last update.

ubuntu で sudo をつけるとデフォルトのpython 呼ばれる。

Posted at

概要

備忘録

pyenvなどを使ってpythonの仮想環境に入っていたとしても、

sudo python
とするとデフォルトの/usr/libとかの下にあるpythonが呼ばれるので注意。

あれ、なんかいつも使ってる仮想環境でできてることがsudoつけるとできない、
みたいなことになる。

以上備忘録。

終わり。

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