Closed monajalal closed 2 years ago
@monajalal Thanks for the detailed report. If you could, could you please pull the logs from the "Jupyter" output panel when you open the ipynb when connected via SSH. Those logs would be the best first step that I could help with debugging here.
I did just notice as well that you seem to be on older versions of VSCode and our extension. If you could please update to the newest versions before you repro that would be very helpful.
Thank you. Now, it works :)
Awesome, glad that it's working for you now.
Hi @IanMatthewHuff I have the same exact problem in VSCode in a new machine we recently purchased that I am connecting remotely to.
So, I basically installed the latest version of VSCode and similarly, the latest version of all the related extensions. Yet, when I click on the "gear" icon, it is not responsive, hence I cannot select my own native Python virtual environment. Also, when I paste the path of my virt env and press "Enter" nothing happens.
Could you please advise what would be a solution in this case?
@monajalal That control actually can't accept just a path input. When working with python the dropdown selection should show all the possible options, which would be all the Jupyter kernels and Python environments that we detect on that machine.
When you mention your own native python environments do you mean on your machine? If you connect remotely you should just be seeing the python environments installed on that remote box that you are connected to.
@IanMatthewHuff no this /home/jalal/research/venv/dpcc/bin/python
is installed in the remote machine echo.bumc.bu.edu
why can't it detect it now while it previously could detect a similar virtual Python env in a remote machine?
solved, had to initially set the interpreter from the command pallet and then select it in the notebook.
Environment data
VS Code version: XXX
Jupyter Extension version (available under the Extensions sidebar):
Python Extension version (available under the Extensions sidebar):
OS (Windows | Mac | Linux distro) and version: XXX local OS: Mac OSX / remote OS:
lrwxrwxrwx 1 root root 9 Oct 1 19:43 /SeaExp/mona/venv/dpcc/bin/python -> python3.8
$ /SeaExp/mona/venv/dpcc/bin/python Python 3.8.0 (default, Feb 25 2021, 22:10:10) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
XXX