{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":117682,"databundleVersionId":15062069,"sourceType":"competition"}],"dockerImageVersionId":31259,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import os\nfrom pathlib import Path\nimport subprocess\n\n# Target directory for wheels\noutput_dir = Path(\"vsdetection_whls\")\noutput_dir.mkdir(exist_ok=True)\n\n# List of required packages\npackages = [\n    \"monai==1.3.0\",\n    \"nibabel\",\n    \"tifffile\",\n    \"imagecodecs\",\n    \"scikit-image\",\n    \"pytorch_lightning==2.1.3\",\n]\n\n# Download wheels into the folder\nfor pkg in packages:\n    subprocess.run([\"pip\", \"download\", \"--no-deps\", \"-d\", str(output_dir), pkg])\n\nprint(f\"✅ Done. All wheels saved to: {output_dir.resolve()}\")\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2026-01-30T11:36:40.958757Z","iopub.execute_input":"2026-01-30T11:36:40.959832Z","iopub.status.idle":"2026-01-30T11:36:49.548037Z","shell.execute_reply.started":"2026-01-30T11:36:40.959773Z","shell.execute_reply":"2026-01-30T11:36:49.546984Z"}},"outputs":[],"execution_count":null}]}