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

venvの使い方(超簡易版)

Last updated at Posted at 2021-09-10

環境構築

  • 仮想環境を作成します

python -m venv venv1

作成後、以下の様なコマンドで仮想環境に入る

.\venv1\Scripts\activate

  • pipコマンドで必要なパッケージをインストールします

pip install lxml

おまけ

仮想環境から出る時はdeactivate
pip freezeでインストールパッケージ確認(仮想環境にちゃんと入れてるかの確認)
pip uninstall lxmlのようなコマンドでアンインストール

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