Help us understand the problem. What is going on with this article?

pipenv環境構築まとめ

□2018年のPythonプロジェクトのはじめかた - Qiita
https://qiita.com/sl2/items/1e503952b9506a0539ea
に刺激を受けて,pipenvの設定をまとめてみました.
公式ドキュメント

インストール

pipでinstall

pip install --user pipenv
pipenv --version

必須コマンド

Pipfileがない場合,Pipfileを作成

pipenv install 

必要に応じてライブラリをインストール

pipenv install **library**

必要に応じてライブラリをuninstall

pipenv uninstall **library**

環境をactivate

pipenv shell 

pipfileの[scripts]の中に実行コマンドを作成する

pipenv run **command**

その他の重要コマンド

show dependencies of python library

pipenv graph

activate virtualenv

pipenv shell

check security

pipenv check

execute on virtual environment

pipenv run *comamnd*

command you make in pipfile [scripts]
[scipts]
start="python manage.py runserver "

pipfile.lockからインストール

pipenv sync

Pipenv環境自体の削除

pipenv --rm 

update

pipenv update 

out of pipenv shell

exit 

check the dependent package from one library

pipenv graph —reverse

環境構築時のError

ModuleNotFoundError: No module named ‘_sqlite3’

===>
sudo apt install libsqlite3-dev 
pipenv --rm 
pipenv install --python 3.6.5
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした