-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right click "Convert a Notebook to Python Script" doesn't work. #7783
Comments
hi @greazer . I want to fix this issue . I am familiar with python. Can you guide me on how to fix this issue? |
Thanks @heysujal! Are you running into this bug? We'd love to have some help. That being said, the work that has to be done to fix this is either in the Jupyter extension or the Python extension and possibly VS Code core (depending on the results of the investigation, which hasn't been done yet). You can take a look at the Contributing.md files in each of these repos to see how to get started, building and debugging each extension. Also for the record, indeed the system path is what is causing PythonCodingPack\python.exe to be found and used on my machine. |
Actually after removing access to any python.exe from my path, I'm expectedly getting the "nbconvert needs to be installed" error, but curiously it's still looking at the PythonCodingPack path. I have no idea why that would be:
|
Just adding my 2 cents. This works for me, it might be a python environment issue. |
Same here, works for me too. I wouldn't label this a regression. |
#5222 (comment)
@greazer I also faced same issue then I installed if you agree on this please guide me how do I make prompts whenever user makes an ipynb file. |
This should fix this problem: |
Still not working on my Macbook. The original repro was Windows, so it may be a different problem. But it's the same end result. Note that I was using the daily insiders of Python on Saturday (10/16/2021) morning. So I believe it has the above referenced change.
|
This should be working after Ian's change. |
Worked for me. Didn't test thoroughly though. |
Applies To
What happened?
Fails. Here's the log from an attempt I made. Note that my default Python interpreter is not set to PythonCodingPack\python.exe. However, it IS the python that's found first based on my Windows System Path setting. Guessing that's where this is coming from.
VS Code Version
Version: 1.61.0-insider (user setup) Commit: 4fbe0344a0cedaf2a04edef728c9a3f27777cc6c Date: 2021-09-29T05:38:00.706Z Electron: 13.5.0 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22468
Jupyter Extension Version
v2021.9.1001286107
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
No response
The text was updated successfully, but these errors were encountered: