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

Access to the registry key denied in Windows PowerShell before activating the conda environment #5

Open
cuierd opened this issue Nov 9, 2023 · 0 comments

Comments

@cuierd
Copy link
Collaborator

cuierd commented Nov 9, 2023

Describe the Issue

When I want to set executionpolicy for my Windows Powershell in order to activate conda environment, it says access to the registry key ‘HKEY_Local_Machine\Software\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell’ is denied

To Reproduce

  1. I installed miniconda as described in the guidelines/CONDA_ENVIRONMENT.md
  2. I run the command set-executionpolicy remotesigned in my Windows powershell to enable the execution of scripts before I run conda init powershell
  3. I saw this issue message

Expected behavior

To be able to activate the conda environment by first enter the default base environment, so I guess I need a registry key that is not denied

Screenshots

error_hkey

Devices

  • No Eye-tracker
  • Windows 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant