Can someone please help me understand how I can us...
# general
a
Can someone please help me understand how I can use pants to enable Jupyter Notebook development in VS Code? I've tried exporting virtualenvs but the python env won't import my first party libs in the notebook. When I activate the virtualenv I exported in a terminal and try to import my libs it works. It just doesn't work in the notebook. I also tried using the jupyter plug-in and none of the magic calls worked.
c
the
export
command will export 3rd-party dependencies to a venv in the "dist/export" folder. You then set your jupyterhub notebook to use the interpreter in that venv as the kernel. I'm able to import 1st-party code just fine. Can you tell us more about your source layout? When you say that none of the magics worked, do you mean that even the builtin magics didn't work?