How to set PYTHONPATH?

Hello, I was just wondering if it is possible to somehow set the PYTHONPATH in swan for all jupyter notebooks in a given project? I want to avoid manually using sys.path in every notebook. Thanks for your help!

Dear Tomas,

I think you can do it using the environment bash script when configuring your swan environment.
Just export your PYTHONPATH or any other variables there and it should be fine.

Cheers,
Brian

1 Like

Thanks Brian! I’ll give it a try.