Dataspell launching notebook incorrectly

When I run a code cell to start the managed jupyter server, Dataspell runs this command:

C:\path\to\DataSpell\Scripts\python.exe -m jupyter notebook "--notebook-dir=C:\path\to\Desktop\Project Name" --no-browser

However, Jupyter seems to have changed the command to run as

python -m notebook

I cannot find out how to change the launch command, because unlike the other IDEs that Jetbrains has, there do not seem to be an option to edit configurations.

I am trying to avoid starting the server on my own and then pasting the URL with the token into the Jupyter server configuration. I want to be able to use the IDE's managed server.

Update

I realized that this is because the "jupyter-notebook" command is not on path, so "python -m jupyter notebook" will not work since it needs to see the "jupyter-notebook" command on PATH. 

I do have an command alias path on my PATH variable, where I just put the "jupyter-notebook" command, and now while DataSpell is able to launch a notebook, it is using my global python interpreter and not the one that the notebook configures. Need help as to how to set up the environment variables/ DataSpell configuration to get the configured interpreter (the one in DataSpell\Scripts\python) to work instead of my global installation.

0

请先登录再写评论。