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

Installing ipykernel requires admin on Windows #1253

Closed
Tracked by #1122
rchiodo opened this issue Jun 3, 2020 · 4 comments
Closed
Tracked by #1122

Installing ipykernel requires admin on Windows #1253

rchiodo opened this issue Jun 3, 2020 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Milestone

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Jun 3, 2020

Steps to repro:

  1. Create venv
  2. Switch to it
  3. Switch on raw kernel support
  4. Run interactive window
  5. Follow install prompts
  6. Expect kernel to start

Kernel actually fails with an import dll load failure when importing the win32api package.

This is because the installer for pywin32 needs admin rights.

@rchiodo
Copy link
Contributor Author

rchiodo commented Jun 4, 2020

Need to repro with jupyter first to see if this happens with jupyter too.

@rchiodo rchiodo self-assigned this Jun 4, 2020
@rchiodo
Copy link
Contributor Author

rchiodo commented Jun 5, 2020

Okay this is a result of either;

  • Using anaconda's python in a virtual environment (not supported)
    or
  • Using windows store version 3.7 or earlier.

we should detect these two conditions and say they aren't supported.

@rchiodo rchiodo removed their assignment Jun 5, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug temp-nice-for-october labels Nov 13, 2020
@greazer greazer added the P2 label Nov 14, 2020
@greazer greazer added this to the July 2021 Release milestone Jun 8, 2021
@greazer greazer removed the P2 label Jul 26, 2021
@greazer greazer modified the milestones: July 2021, August 2021 Jul 30, 2021
@greazer greazer added the notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) label Aug 2, 2021
@greazer greazer modified the milestones: August 2021, old August 2021 Aug 9, 2021
@DonJayamanne DonJayamanne self-assigned this Dec 3, 2021
@DonJayamanne
Copy link
Contributor

This should already be fixed for the following scenario
Using windows store version 3.7 or earlier.

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Dec 4, 2021

Testing
See the comments right on top (contains steps for repro #1253 (comment))

@rzhao271 rzhao271 added verified Verification succeeded and removed verified Verification succeeded labels Jan 28, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants