Skip to content

Which environment (as in environment variables) does PyCall use? #698

Closed
@goretkin

Description

@goretkin

I can set an environment variable as follows:

PyCall.PyDict(PyCall.pyimport("os").environ)["SOURCE_DATE_EPOCH"] = "0"

Using ENV in Julia did not work. I would like to understand which environment the python interpreter is in. As far as I understand, there isn't a separate process for the interpreter, so I am surprised there is a separate environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions