Definitely use a virtualenv when possible. It'll save you a ton of headaches down the road. I was at a python conference in December, and this speaker had a great segment about virtualenvs: https://youtu.be/bxCp3Ciwjm0?t=3m50s My personal preference is virtualenvwrapper. It gives you a lot of extra options over the normal virtualenv, and streamlines it for command-line usage. On Wed, Mar 7, 2018 at 6:11 PM, Ray Voelker <[log in to unmask]> wrote: > I was just talking to a friend of mine about Python stuff, as we've both > just started using it for some library-related projects. > > We we're looking into the environment stuff when it comes to python, and I > didn't realize that there were so many ways to go! > > https://stackoverflow.com/questions/41573587/what-is- > the-difference-between-venv-pyvenv-pyenv-virtualenv-virtualenvwrappe > > My two-cents is that virtualenv seems fairly easy to use, is fairly > popular, and gives you a sandboxed python environment. > > --Ray > > On Mar 7, 2018 8:57 PM, "Peter Murray" <[log in to unmask]> wrote: > > > For what it's worth, I recently ran across this article about setting up > > sane Python development environments: > > > > https://jacobian.org/writing/python-environment-2018/ > > > > > > Peter > > > > On Mar 7, 2018, 4:54 PM -0500, Jay Luker <[log in to unmask]>, wrote: > > > I would add a recommendation for pyenv as a way to manage multiple > > versions > > > of python on a machine. Very helpful, particularly if you need to run > > > tests under multiple versions with something like tox. > > > > > > https://github.com/pyenv/pyenv > > > > > > —jay > > > > > > On Wed, Mar 7, 2018 at 3:35 PM Ed Summers <[log in to unmask]> wrote: > > > > > > > I agree. Third party support for Python3 is pretty good now. But if > you > > > > have any dependencies you know you're going to need it's a good idea > to > > > > check beforehand. > > > > > > > > There's also the six module if you want to be able to say you > support 2 > > > > and 3, and want a nice way of papering over the differences. > > > > > > > > http://six.readthedocs.io/ > > > > > > > > //Ed > > > > > > > > > On Mar 7, 2018, at 3:31 PM, Tod Olson <[log in to unmask]> wrote: > > > > > > > > > > I'd suggest Python 3. > > > > > > > > > > There are mechanisms for managing virtual environments for Python, > > like > > > > penv, which make it easy to install and switch between versions > without > > > > confusing the system. > > > > > > > > > > -Tod > > > > > > > -- Brian Wu Email: [log in to unmask]