Skip to content

How do I prevent jupyter lab from creating etc in PYTHONHOME #17645

Closed as duplicate of#17637
@cos4ni2s

Description

@cos4ni2s

A directory named etc containing etc\jupyter\labconfig\page_config.json is created everytime I run jupyter lab even though I have JUPYTER_CONFIG_DIR pointing to another location.

jupyter --path and jupyter --paths return the following:

config:
    C:\intrastuff\Programs\Python\Version-3.13.5\Peripheral Data\Packages\PyPI\JupyterLab\Peripheral Data\Configuration # Where `JUPYTER_CONFIG_DIR` is pointing
    C:\intrastuff\Programs\Python\Version-3.13.5\Peripheral Data\Standard Library\etc\jupyter # Where `PYTHONHOME` is pointing
data:
    C:\intrastuff\Programs\Python\Version-3.13.5\Peripheral Data\Packages\PyPI\JupyterLab\Peripheral Data\Data # Where `JUPYTER_DATA_DIR` is pointing
    C:\intrastuff\Programs\Python\Version-3.13.5\Peripheral Data\Standard Library\share\jupyter # Where `PYTHONHOME` is pointing
runtime:
    C:\intrastuff\Programs\Python\Version-3.13.5\Peripheral Data\Packages\PyPI\JupyterLab\Peripheral Data\Runtime # Where `JUPYTER_RUNTIME_DIR` is pointing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions