30

Python pisses me off. Not the language itself, but setting up the environment. Xkcd nailed this one.

Comments
  • 3
    I hate Python for both.
  • 2
    Setting up a virtual environment is just 1-2 commands in DASH. It's more it less independent from PATH, from os differences, and works the same on any POSIX system. From that you can easily replicate the environment with a requirements.txt file.
  • 1
    It takes me exactly 300 seconds to spin up a fully functioning python environment on any machine including Mac and Ubuntu. Never tried windows because who need that
  • 1
    @py2js good for you!
  • 0
    That's why I often use docker to isolate environments. Just select a python 3 image and add the pip install -r requirements.txt command and it's done.
  • 0
    Just let conda handle that mess for you xD
    Seriously, look into `cond env`

    Everytime I start a new project with a client I run `conda create -n <name> python=3.6.4` and install my pip dependencies on that environment.
  • 1
    Use pipenv.
Add Comment