pipenv in shell
I have been having difficulties installing scrapy (https://replit.com/talk/ask/Not-able-to-install-scrapy/134335). Therefore, decided to do the usual way like I'd do in vscode.
Installed pipenv, did pipenv install of all the packages.
Upon executing it via pipenv: pipenv run pythin3 filename.py, I ran into a dotenv issue. I have a password stored in the environment variables, but I was not able to access it via my_token = os.environ['TOKEN']
After a bit of idle time when I got back to the shell, it no longer had pipenv and the packages installed. I mean, I will have to re-do the stuff now.
So, that's for some context to my follow on questions:
1. How do I get the environment variables stored in replit to work if I use pipenv?
2. How do I make pipenv and packages that were installed persist across shell disconnects?