Open fmamitrotta opened 3 years ago
I would guess that something about the environment (like environment variables or the CWD) is different when you double-click a file from when you launch the notebook in Jupyter. I don't really know how to figure out what that difference is, though - sorry.
I wanted to be able to open .ipynb files with a double click, so I installed
nbopen
as indicated by this answer on stackoverflow. Furthermore, I needed to set a specific conda environment as kernel of the notebook, so I followed the steps indicated here . I also added the following paths to my PATH environment variable:C:\Users\qa21944\Anaconda3
C:\Users\qa21944\Anaconda3\Scripts
C:\Users\qa21944\Anaconda3\Library\bin
C:\Users\qa21944\Anaconda3\Library\mingw-w64\bin
Unfortunately when I try to open a notebook from the pyNastran package with a double click, the kernel does not connect to the conda environment I need. In the
nbopen
window I see the following error:What I cannot understand is the fact that if I open the notebook with PyCharm, everything runs smoothly. What could be the problem?