Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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.
-
py2js33776yIt 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
-
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.
-
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.
Python pisses me off. Not the language itself, but setting up the environment. Xkcd nailed this one.
rant