Clean-environment rebuild worksheet =================================== StatMedAnalysis | Downloadable worksheet | 5 November 2026 Find missing system or package dependencies by rebuilding an analysis in an empty environment. Working instructions Start in a new temporary workspace with a fresh virtual environment. Record the interpreter and platform. Install only the declared dependencies and run the documented entry point on a synthetic fixture. Log the first missing prerequisite before changing the environment. Working record Save a local copy. Use public, hypothetical or aggregate information. Project code ____________________ Prepared on ____________________ Source revision and dependency manifest ___________________________________________________________________ Interpreter path, version and operating system ___________________________________________________________________ External executable or system library versions ___________________________________________________________________ Installation command and lockfile identity ___________________________________________________________________ Synthetic fixture and expected output ___________________________________________________________________ First clean-run failure with operation ___________________________________________________________________ Changed declaration and second clean-run result ___________________________________________________________________ Residual platform-specific constraints ___________________________________________________________________ Hypothetical worked case A fictional script imports a plotting package available in the developer’s global environment. Its first fresh run fails during import. Add the missing dependency to the manifest and retry in a second clean environment to confirm the repair. Decision and follow-up Pass when the documented procedure succeeds in a fresh, supported environment and reproduces the fixture within the declared tolerance. A working machine with undeclared global packages cannot establish portability. Decision _______________________ Date ___________________________ Evidence retained at _____________________________________________ Next action ____________________ Owner __________________________ Official reference checked 5 November 2026 https://docs.python.org/3/library/venv.html