Freymaurer / Fable.Multiverse

A template to get up and running as fast as possible with Fable and publishing to multiple languages.
MIT License
5 stars 0 forks source link

Set Execution Policy to activate python virtual environment #4

Open caroott opened 4 months ago

caroott commented 4 months ago

Step 4 of the Setup in the README says to run .\.venv\Scripts\Activate.ps1 to activate the python virtual environment. The standard execution policy for Windows in PowerShell is "Restricted" and doesn't allow script execution. To fix this, you need to run PowerShell in administrator mode and execute the command Set-ExecutionPolicy -ExecutionPolicy RemoteSigned.

Freymaurer commented 4 months ago

Nice catch. So maybe it is better to write into docs to call

Python executable in venv. Meaning:

.venv/Scripts/python.exe <command> instead of python <command>?