First point of call is reminder about what exactly “pipenv shell” is or does It creates or activates the virtual environment. Below, the blog directory is a directory with an already pipenv-installed Django and pipenv-shelled environment. But observe this. Running the “Django-admin” command on the command line to check if Django is installed in that location returns this:  Then, we re-open the blog directory and this time first run the “pipenv shell” on it. i.e. activate it. Then we re-run the “Django-admin” command to check if Django is installed in that location and it returns this:  Next point of call is to check if we can run “Django-admin” in a new directory by just running “pipenv shell” on it  Then we run “Django-admin” on it. Then it returned this:  Meaning we can’t run “django-admin” in a new directory by just running “pipenv shell” on it. We must first pipenv-install it. CONCLUSION: You must activate the virtual environment with “pipenv shell” before you can use that virtual environment.
author | holybranches |
---|---|
permlink | documenting-working-codes-re-establishing-the-fact-that-we-must-pipenv-install-django-everytime-we-create-a-new-project-inside |
category | python |
json_metadata | {"tags":["python","programming","django","setup","issues"],"image":["https://images.hive.blog/DQmPF52W17NQ3KkUc1wq19PFFHXcnW35K7fTf3vZzsBkJVk/image.png","https://images.hive.blog/DQmSbegx1xqqezfs1ZGo1rgn4fawTy8pEYu7vZzCvtnUUsZ/image.png","https://images.hive.blog/DQmRJcDNhGhJVXVpkNp1EjvVs3hVB7apijEf5x652hoLMEc/image.png","https://images.hive.blog/DQmVBsNp1d5p8xfpqdDMWPmeD4rzUmRsZdfhL6JLu3HVk95/image.png"],"app":"hiveblog/0.1","format":"markdown"} |
created | 2021-05-04 13:54:48 |
last_update | 2021-05-04 13:54:48 |
depth | 0 |
children | 0 |
last_payout | 2021-05-11 13:54:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.030 HBD |
curator_payout_value | 0.029 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,416 |
author_reputation | 8,432,821,397,316 |
root_title | "Documenting Working Codes: Re-Establishing The Fact That We Must Pipenv-Install Django Everytime We Create A New Project Inside The Directory Containing That New Project" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 103,480,499 |
net_rshares | 112,638,734,171 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
penderis | 0 | 71,300,393,415 | 100% | ||
sbi7 | 0 | 35,305,082,592 | 6.6% | ||
smokingfit | 0 | 5,238,043,960 | 100% | ||
penned-bullshit | 0 | 795,214,204 | 100% |