Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Environment Variable in JupyterLite #31

Open
michaelweinold opened this issue Sep 15, 2023 · 2 comments
Open

Set Environment Variable in JupyterLite #31

michaelweinold opened this issue Sep 15, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request infrastructure

Comments

@michaelweinold
Copy link
Collaborator

As per the documentation, a BRIGHTWAY_DIR environment variable must be set to set the primary data directory of Brightway.

This is necessary, since sqlite3 connections in JupyterLite currently don't work in the default directory:

@michaelweinold michaelweinold added enhancement New feature or request infrastructure labels Sep 15, 2023
@michaelweinold michaelweinold self-assigned this Sep 15, 2023
@michaelweinold
Copy link
Collaborator Author

michaelweinold commented Sep 16, 2023

@michaelweinold
Copy link
Collaborator Author

...use this as an alternative (even for Jupyter Notebooks): jupyterlite-repl-prerun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant