Open zhoonit opened 1 week ago
Please can you
JUPYTER_PATH
in your shell scripts, JUPYTER_PATH
, i.e. ensure it contains your necessary path.code
or code-insiders
, depending on whether you have Stable or Insiders installed.Jupyter->Logging
verbose
If not, please can you share the logs using the command Jupyter: Show Output
Thank you for the detailed instruction.
I verified that the following instruction is able to apply JUPYTER_PATH
to the vscode, and also learned that code launched with env variable set indeed regard the environment variables :)
While the instruction is more than enough to do the job, I wonder if there is a good way to overcome(?) those two minor issues.
X and Y and then Z...
I thought of adding a setting to add kernel path or jupyter path and sharing the setting project-wide. (through .vscode/settings.json
).
If the team is not happy with the suggestion, it is still okay for me since now I have a workaround. If the team thinks it's okay to be a feature with minor design tweaks but unlikely to implement seems low priority, I would be happy to give a shot to implement.
In the project I am working on, I have a custom kernel configurations to share with others. So I decided to put kernel.json in to the project as below.
with
JUPYTER_PATH
set, I could load/find custom kernel as expected.This works just as intended as long as one could configure JUPYTER_PATH environmental variable when starting jupyter notebooks (not with vscode-jupyter).
With vscode-jupyter, it seems setting JUPYTER_PATH on launching jupyter notebook is not a viable option. It looked like "JUPYTER_PATH" is set to a temporary directory inside the extension.
I wonder if it is possible to add a setting to set location to search custom kernel directory.
something like below,
I've been digging into discussions and issues but couldn't find a way to do this. My apologies if this feature is already supported.