buds-lab / psychrometric-chart-makeover

Adding more dimension to the psychrometric chart
MIT License
8 stars 1 forks source link

reset the virtual env using the -not-site-packages flag #6

Closed pjayathissa closed 5 years ago

pjayathissa commented 5 years ago

Managing Dependencies Efficiently A time saving alternative I came across after doing the latter was to use virtualenv to create a local isolated python environment.

Make sure you use -not-site-packages so virtualenv doesn’t symlink to your system packages when you install a new package in the future. Now when you run pip freeze again you’ll get all local dependencies in the requirements.txt

virtualenv —no-site-packages myflaskapp

https://medium.com/@pbojinov/elastic-beanstalk-and-flask-c51e10de7fe0

pjayathissa commented 5 years ago

didn't do it, but works now. For future apps, I should do this