LoginSignup
0
2

More than 1 year has passed since last update.

Windowsでpipenv

Last updated at Posted at 2021-10-03

venvに引き続きこっちも簡単な導入方法の記載

環境

Windows10
python 3.9.4

コマンド

pipenv インストール

python -m pip install pipenv

pipenv プロジェクト化

※プロジェクトにしたいフォルダに事前に移動して

python -m pipenv --python 3.9

パッケージインストール

python -m pipenv install [packege]

例)

python -m pipenv install algorithms

プロジェクト環境に入る

python -m pipenv shell

※powershellだと、仮想環境に入ったときにプロジェクト名が出ないためわかりにくい、、
※cmdだと先頭にカッコ書きでプロジェクト名がつくためわかりやすい

補足

一応、pipenvのプロジェクトでインストールしたパッケージがプロジェクト外で使えないことは確認しています

0
2
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
2