PowerShell will not run the script
PowerShell writes: cannot be loaded because running scripts is disabled on this system. A virtual environment's Activate.ps1 file is a script, so PowerShell stops it. activate.bat in Command Prompt is not that script, and it runs.
Do not lift the block for the whole computer. Check the cause in order.
- In Command Prompt, in the project folder, run
.venv\Scripts\activate.bat. If the line shows(.venv), the environment is on. Do not change PowerShell. - If you want to stay in PowerShell, for your user only:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser. Close the window, open a new one, then run.venv\Scripts\Activate.ps1. - Do not write
UnrestrictedorLocalMachine. That opens other scripts on the whole computer. - If the
MachinePolicyline staysRestricted, a user command does not pass it. Continue withactivate.batin that window. - The same sentence is for another
.ps1file. The file name changes. The stop is the same.
Do not write Bypass. For one job, activate.bat in Command Prompt is enough.
py -m venv .venv .venv\Scripts\activate.bat
- python is not recognized
- The letter ə shows as a square
- Excel breaks the letter ə
- The letter ə becomes a question mark on the page
- Excel opens the CSV as one column
- In JSON the letter ə becomes \u0259
- APK will not install
- What is a parse error?
- The keystore is lost
- The signatures do not match
- Package name error
- The APK file is damaged
- Blocked by Play Protect
- Package appears to be invalid
- Not enough storage
- App not compatible with your device
- An older version will not install
- XAPK will not install
- Gradle sync failed
- Could not resolve a dependency
- Duplicate class error
- Manifest merger failed
- Dex limit: 65536 methods
- R8: Missing class
- JDK version mismatch
- SDK location not found
- minSdkVersion conflict
- compileSdk is too low
- EAS build: Gradle failure
- expo prebuild error
- Metro: Unable to resolve module
- Hermes: JS error only in release
- White screen in release
- Red screen: cannot reach Metro
- Expo SDK mismatch
- Capacitor sync error
- Capacitor: white screen
- EAS: keystore and credentials error
- Keystore was tampered with / wrong password
- Wrong key alias or password
- Play: signed with the wrong key
- INSTALL_FAILED_UPDATE_INCOMPATIBLE
- INSTALL_FAILED_VERSION_DOWNGRADE
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- INSTALL_FAILED_NO_MATCHING_ABIS
- Parse error (problem parsing the package)
- "App not installed" error
- Installing an AAB file on a phone
- adb: device "unauthorized"
- adb: device not found
- adb server version mismatch
- Activity class does not exist
- Play: targetSdk level too low
- Play: permissions policy rejection
- Play: 64-bit requirement
- Play: versionCode already used
- ClassNotFound / NoSuchMethod crash
- OutOfMemoryError crash
- CLEARTEXT communication not permitted
- SecurityException: permission denied