0
0

Pythonで仮想環境を作成する(venv)

Last updated at Posted at 2024-08-28

目的

いつからか、pythonで開発を行う場合に、pipなどを用いて作業を行うと仮想環境内で作業をしなさいと、エラーが出る様になってしまった。

環境の作成

$ python -m venv 仮想環境名

端末の起動

$ source 仮想環境名/bin/activate

シェルスクリプトからも使う事が出来ます。

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