DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippets
Not on the map. Why?
Abstract (arXiv)
Platforms like Stack Overflow and GitHub's gist system promote the sharing of ideas and programming techniques via the distribution of code snippets designed to illustrate particular tasks. Python, a popular and fast-growing programming language, sees heavy use on both sites, with nearly one million questions asked on Stack Overflow and 400 thousand public gists on GitHub. Unfortunately, around 75% of the Python example code shared through these sites cannot be directly executed. When run in a clean environment, over 50% of public Python gists fail due to an import error for a missing library. We present DockerizeMe, a technique for inferring the dependencies needed to execute a Python code snippet without import error. DockerizeMe starts with offline knowledge acquisition of the resources and dependencies for popular Python packages from the Python Package Index (PyPI). It then builds Docker specifications using a graph-based inference procedure. Our inference procedure resolves import errors in 892 out of nearly 3,000 gists from the Gistable dataset for which Gistable's baseline approach could not find and install all dependencies.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 0; 2025: 3; 2026: 9.
13 papers.
Sort:
By area:
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 19
- 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10
- 2026EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configurationcited by 8
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMscited by 3
- 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agentscited by 2
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platformscited by 2
- 2026MEMRES: A Memory-Augmented Resolver with Confidence Cascade for Agentic Python Dependency Resolutioncited by 1
- 2021Text Classification for Task-based Source Code Related Questionscited by 0
- 2026Evaluating LLM Agents on Automated Software Analysis Taskscited by 0
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledgecited by 0
- 2026Escaping Python Dependency Hell: A Hybrid Replay-and-Repair Pipeline for Python Dependency Resolutioncited by 0
1 more
- 2026Graph-Guided Repository Environment Constructioncited by 0
- 2026Graph-Guided Repository Environment Construction27 Sep 2026
- 2026Escaping Python Dependency Hell: A Hybrid Replay-and-Repair Pipeline for Python Dependency Resolution22 Sep 2026
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledge15 May 2026
- 2026MEMRES: A Memory-Augmented Resolver with Confidence Cascade for Agentic Python Dependency Resolution18 Apr 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms5 Mar 2026
- 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agents10 Feb 2026
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millions2 Feb 2026
- 2026EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configuration23 Jan 2026
- 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building27 May 2025
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scale19 Feb 2025
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMs27 Jan 2025
1 more
- 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10
- 2026EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configurationcited by 8
- 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agentscited by 2
- 2026MEMRES: A Memory-Augmented Resolver with Confidence Cascade for Agentic Python Dependency Resolutioncited by 1
- 2026Evaluating LLM Agents on Automated Software Analysis Taskscited by 0
- 2026Graph-Guided Repository Environment Constructioncited by 0
- 2026Graph-Guided Repository Environment Construction27 Sep 2026
- 2026MEMRES: A Memory-Augmented Resolver with Confidence Cascade for Agentic Python Dependency Resolution18 Apr 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agents10 Feb 2026
- 2026EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configuration23 Jan 2026
- 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Building27 May 2025
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 19
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMscited by 3
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platformscited by 2
- 2021Text Classification for Task-based Source Code Related Questionscited by 0
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledgecited by 0
- 2026Escaping Python Dependency Hell: A Hybrid Replay-and-Repair Pipeline for Python Dependency Resolutioncited by 0
- 2026Escaping Python Dependency Hell: A Hybrid Replay-and-Repair Pipeline for Python Dependency Resolution22 Sep 2026
- 2026BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledge15 May 2026
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms5 Mar 2026
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millions2 Feb 2026
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scale19 Feb 2025
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMs27 Jan 2025
- 2021Text Classification for Task-based Source Code Related Questions31 Oct 2021