create account

Documenting Working Codes: Must we pipenv-install django everytime we start a new project? by holybranches

View this thread on: hive.blogpeakd.comecency.com
· @holybranches ·
$0.05
Documenting Working Codes: Must we pipenv-install django everytime we start a new project?
It is like the answer to this question is not on the internet

Inability to answer this question has cost me 5 days

My current personal answer is yes.

Below adds to confirming my intuition:

Went to the directory containing an already started Django project I started with Django-admin using python 3.7 before switching to 3.9

Switching to 3.9 means that the Scripts folder in 3.9 neither contains Django-admin or pipenv.

It is like starting afresh.

Which is what I needed.

Upon typing pipenv into the command line, it returned ‘file not found in either internal or external’ blah

Translation: it does not exist.

Since, the python 3.9 Scripts folder I am currently using contains “pip3”, I ran “pip3 install pipenv” on the terminal

After installing, I ran “pipenv shell” in my project’s directory and it gave me this:


![image.png](https://images.hive.blog/DQmVXf7Be3MsPuZYe2j82671TeaujeAFcbU4Ym2NBPj3adT/image.png)

Meaning: successful

And it will be successful bc I installed pipenv in the Scripts folder using “pip3 install pipenv”

Then I tested out “Django-admin” and it gave me this:


![image.png](https://images.hive.blog/DQmcddm67cAbEQJeMqDN656ecMt9YgYF1uEvzPsfSSBUNZ3/image.png)

Translation: It does not exist.

Then I pipenv-installed django which is DIFFERENT from pip-installing django. I believe.

Any way, I followed the routine below and it gave me this:


![image.png](https://images.hive.blog/DQmc33vZ1ncH31MtvQr25rfq3LzfxgECQitbk1wNaxJ1iwr/image.png)

Then I re-tested the “Django-admin” and it gave me this:


![image.png](https://images.hive.blog/DQmPcnGovDbtTjFaVVQu4p4JVurPGp3haP6nDp9ZFK5yW3e/image.png)

Translation: it now exists

PS: it does not exist on the global scope of my computer. Only in the directory I pipenv-installed it. i.e. local scope. And it can only be used INSIDE THAT local scope.
👍  , , , ,
properties (23)
authorholybranches
permlinkdocumenting-working-codes-must-we-pipenv-install-django-everytime-we-start-a-new-project
categorypython
json_metadata{"tags":["python","programming","django","setup","issues"],"image":["https://images.hive.blog/DQmVXf7Be3MsPuZYe2j82671TeaujeAFcbU4Ym2NBPj3adT/image.png","https://images.hive.blog/DQmcddm67cAbEQJeMqDN656ecMt9YgYF1uEvzPsfSSBUNZ3/image.png","https://images.hive.blog/DQmc33vZ1ncH31MtvQr25rfq3LzfxgECQitbk1wNaxJ1iwr/image.png","https://images.hive.blog/DQmPcnGovDbtTjFaVVQu4p4JVurPGp3haP6nDp9ZFK5yW3e/image.png"],"app":"hiveblog/0.1","format":"markdown"}
created2021-05-03 05:32:33
last_update2021-05-03 05:32:33
depth0
children0
last_payout2021-05-10 05:32:33
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.026 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,837
author_reputation8,432,821,397,316
root_title"Documenting Working Codes: Must we pipenv-install django everytime we start a new project?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,449,675
net_rshares103,758,520,624
author_curate_reward""
vote details (5)