Kaggle / Kaggle/kaggle-environments

[Feature request] Add /kaggle/input to module search path

Open
#249 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
452
Forks
190
Avg merge
31m
Merged PRs (30d)
2

Description

Currently, `sys.path` shows the following folders in the module search path

```
['/kaggle/working',
'/kaggle/lib/kagglegym',
'/kaggle/lib',
'/opt/conda/lib/python310.zip',
'/opt/conda/lib/python3.10',
'/opt/conda/lib/python3.10/lib-dynload',
'',
'/root/.local/lib/python3.10/site-packages',
'/opt/conda/lib/python3.10/site-packages',
'/root/src/BigQuery_Helper']
```

Is it possible to also add `/kaggle/input` to this list? In this case modules from external datasets/notebooks could be loaded without a need to adjust the path.

P.S. Not sure if this is a proper repo to open this issue, or I need to open it in `docker-python`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the environment setup that determines Python's sys.path; the issue does not name a file or entry point, and it questions whether docker-python is the correct repository. Reproduce the listed path and verify that /kaggle/input is included and modules from external datasets or notebooks import without manual path adjustment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.