Viewing a response to: @netscape101/re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-python-tips-virtual-environments-20180523t152109033z
Let me know what you think!
author | themarkymark |
---|---|
permlink | re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-python-tips-virtual-environments-20180523t152654824z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-05-23 15:25:57 |
last_update | 2018-05-23 15:25:57 |
depth | 6 |
children | 4 |
last_payout | 2018-05-30 15:25:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 27 |
author_reputation | 1,774,101,061,361,703 |
root_title | "[Python Tips] Virtual Environments" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 57,285,465 |
net_rshares | 966,049,782 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
netscape101 | 0 | 966,049,782 | 100% |
I tried installing it in a virtualenv and then I saw it installed virtualenv inside the virtualenv, which is like virtualenv inception. I'm going to try it again tomorrow. I think the change of workflow will take some time to adapt for me. I weirdly like uninstalling everything in my virtualenv and then installing from scratch from my requirements.txt, and the reason behind that is I work on some projects that have a huge list of dependencies(far too many for my liking) and often a package gets out of date or can't install anymore or a certain bug only creeps in with a specific version of a package. Are there any tools out there for converting your requirements.txt to the format that pipenv uses?
author | netscape101 |
---|---|
permlink | re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-python-tips-virtual-environments-20180523t191617571z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-05-23 19:16:21 |
last_update | 2018-05-23 19:16:21 |
depth | 7 |
children | 3 |
last_payout | 2018-05-30 19:16:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 705 |
author_reputation | 45,783,947,118 |
root_title | "[Python Tips] Virtual Environments" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 57,320,146 |
net_rshares | 0 |
I haven't used it in a virtualenv environment, but I believe it will read in a .env file. I would recommend removing the virtual env all together, and reinstalling the packages using `pipenv install ...` and it will handle it all. Just make sure you are in the project folder. `pipenv` makes it really easy to uninstall/install modules and will handle adding only modules you need.
author | themarkymark |
---|---|
permlink | re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-python-tips-virtual-environments-20180523t195747212z |
category | programming |
json_metadata | {"tags":["programming"],"app":"steemit/0.1"} |
created | 2018-05-23 19:56:48 |
last_update | 2018-05-23 19:57:21 |
depth | 8 |
children | 2 |
last_payout | 2018-05-30 19:56:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 384 |
author_reputation | 1,774,101,061,361,703 |
root_title | "[Python Tips] Virtual Environments" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 57,325,616 |
net_rshares | 1,056,440,405 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
netscape101 | 0 | 1,056,440,405 | 100% |
Cool thanks you are right. I see in the documentation here: https://docs.pipenv.org/basics/#importing-from-requirements-txt it says: "If you only have a requirements.txt file available when running pipenv install, pipenv will automatically import the contents of this file and create a Pipfile for you." and it says: "You can also specify $ pipenv install -r path/to/requirements.txt to import a requirements file." and that pretty means you can also install from a file that isn't named requirements.txt also for example: ```pipenv install -r dev-requirements.txt``` Thanks for sharing all the info. Would you mind if I add you on discord?
author | netscape101 |
---|---|
permlink | re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-re-netscape101-re-themarkymark-python-tips-virtual-environments-20180524t085942595z |
category | programming |
json_metadata | {"tags":["programming"],"links":["https://docs.pipenv.org/basics/#importing-from-requirements-txt"],"app":"steemit/0.1"} |
created | 2018-05-24 08:59:42 |
last_update | 2018-05-24 08:59:42 |
depth | 9 |
children | 1 |
last_payout | 2018-05-31 08:59:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 641 |
author_reputation | 45,783,947,118 |
root_title | "[Python Tips] Virtual Environments" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 57,422,255 |
net_rshares | 0 |