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

[Bug]: manual installation on Windows fails on poetry shell #626

Open
abrichr opened this issue Apr 18, 2024 · 0 comments
Open

[Bug]: manual installation on Windows fails on poetry shell #626

abrichr opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abrichr
Copy link
Contributor

abrichr commented Apr 18, 2024

Describe the bug

When running manual install steps on Windows 11 emulated in UTM on a MacOS host, at poetry shell:

File C: \Users\user\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-yEkGQRTF-py3.10\Scripts\activate.ps1 cannot be
Loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo
: SecurityError: (:) I, ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess

To fix, run in every new powershell terminal:

Set-ExecutionPolicy RemoteSigned -Scope Process -Force

Or, with admin privileges, run this once:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

This should be documented.

To Reproduce

Run manual installation steps on Windows 11 inside UTM.

@abrichr abrichr added the bug Something isn't working label Apr 18, 2024
@abrichr abrichr changed the title [Bug]: manual installation on Windows (emulated on UTM) fails on poetry shell [Bug]: manual installation on Windows fails on poetry shell Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant