Skip to content

Instantly share code, notes, and snippets.

View epruesse's full-sized avatar

Elmar Pruesse epruesse

View GitHub Profile
@epruesse
epruesse / render_env.py
Last active July 12, 2018 19:39 — forked from ericdill/render_env.py
Render the dependency graph for your conda environment (needs graphviz!)
import json
import glob
from os.path import join, basename, dirname
from os import getcwd
from sys import argv
# install this with "conda install -c conda-forge python-graphviz"
try:
import graphviz as gv
except ImportError:
print("Missing graphviz python module. Install using:")