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 1 year has passed since last update.

Windows10でpythonを用いた仮想環境の構築方法

Posted at

仮想環境作成

python -m venv [name]

仮想環境立ち上げ

・Windows

.[name]\Scripts\Activate 

・Linux

source .[name]/bin/activate

仮想環境から抜ける

deactivate

仮想環境を削除

・Windows

rmdir /s [name]

・Linux

rm -s [name]

ライブラリエクスポート

pip freeze >  requirements.txt

ライブラリインポート

pip install -r requirements.txt

動画で確認する

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?