Skip to content
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

Test: Kernel improvements in Jupyter Extension #7680

Closed
3 tasks done
rchiodo opened this issue Sep 27, 2021 · 2 comments
Closed
3 tasks done

Test: Kernel improvements in Jupyter Extension #7680

rchiodo opened this issue Sep 27, 2021 · 2 comments

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Sep 27, 2021

Refs: https://github.com/microsoft/vscode-jupyter/issues?q=is%3Aissue+label%3Akernel-issues+milestone%3A%22September+2021%22+is%3Aclosed

Complexity: 4

Create Issue

Create Issue


There's been a bunch of work to get kernels to load correctly.

Steps

  1. Install latest jupyter extension into VS code
  2. Install python extension into VS code
  3. Go to settings and pick 'daily' for python.insidersChannel
  4. Wait for python insiders to download
  5. Close VS code
  6. Start a terminal window
  7. Create a new folder
  8. Create a python virtual environment in the same folder : python -m venv mytestEnv
  9. Open the new folder in VS code
  10. Go to 'New File..' and pick Jupyter Notebook
  11. Add the following to a cell
import sys
print(sys.executable)
  1. Run the cell
  2. You should be prompted to pick a kernel. Pick the 'myTestEnv' you just made
    image
  3. You should then be prompted to install ipykernel. Install it. This might take a while.
  4. Cell should then run

Verify you get a path that prints out that matches the mytestEnv.

@rchiodo
Copy link
Contributor Author

rchiodo commented Sep 27, 2021

/cc @IanMatthewHuff

@alexr00
Copy link
Member

alexr00 commented Sep 28, 2021

  1. Wait for python insiders to download

Just FYI for other testers: you need to do something to cause the python extension to activate for this to happen.

Another note: looks like you need to have python 3 installed, not 2.7.

@alexr00 alexr00 removed their assignment Sep 28, 2021
@paulacamargo25 paulacamargo25 removed their assignment Sep 28, 2021
@mjbvz mjbvz removed their assignment Sep 28, 2021
@mjbvz mjbvz closed this as completed Sep 28, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants