Re:Docker for data scientists: Introduction and use cases
by abhirag on Thursday January 04, 2018 @06:36PM
(#16075128)
I assume you are referring to the issues related to installation of external GUI frameworks in virtual environments mentioned here -- [https://matplotlib.org/faq/virtualenv_faq.html], I am afraid pipenv doesn't solve that any better than virtualenv’s --system-site-packages option -- [https://docs.pipenv.org/advanced/#working-with-platform-prov...].
If you are happy with your pip and venv workflow you can happily ignore pipenv, I personally prefer it because:
- It combines all the features of pip and venv with a better UI(in my opinion).
- I can specify my environments in more detail using Pipfile [https://docs.pipenv.org/advanced/#specifying-basically-anyth...]
- It is integrated with pyenv [https://docs.pipenv.org/advanced/#automatic-python-installat...]
- The promise of deterministic builds
What benefits does pipenv have beyond storing the hashes as well? In what way is it more sane? For example, does it get around the issues with, e.g., matplotlib being installed in a virtualenv?