Pycharm Jupyter Notebook asks for token
Answered
I am attempting to connect to Jupyter on a remote server using the Pycharm Jupyter functionality. I have added Jupyter to my interpreter in my project and opened a notebook. When I run a cell I am constantly asked "Please, enter your authentication token".
The server is running Jupyter at a version before token authentication was implemented (4.1.0) and so shouldn't ask for an authentication token. I have tried various versions of Jupyter dependencies in my project interpreter and get the same result. The server requires a password rather than a token.
Is it the case that Pycharm's just won't work with a password protected Jupyter that doesn't use authentication tokens?
Thanks
Please sign in to leave a comment.
Hi, Tom!
Seems like you misconfigured remote interpreters, so PyCharm thinks you're trying to connect to a local notebook.
To connect to a remote notebook you should fill in:
1) https notebook URL
2) login(if you have one) and password
Also, it is reasonable to configure remote interpreter for imports inspections and resolve correct work. Here's an instruction https://www.jetbrains.com/help/pycharm/2016.3/configuring-remote-python-interpreters.html
Hi Valentina,
I also have a Jupyter server that requires a password instead of a token.
Can you please specify where I can fill in the password in PyCharm? I can't find where to enter it.
Thanks!
Hi Matthias St!
Remote notebooks are supported only in Professional version. If you're using it, please go to Settings -> Language & Frameworks -> Jupyter Notebook. Here's instruction with screenshots.