python usual package installed doc - JohnHau/mis GitHub Wiki
1.Configure the environment python version 3.7 pip version 3.7
Install python3.7 and Add the python3.7 directory path in system environment variable
To install python module requirements -> pip install -r requirements.txt
CST : PowerShell:
Execution Policies Change for PowerShell
Default Execution Policies for powershell is "Restricted", it means can't run local powershell script.
Hence, need to change policies from "restricted" to "bypass".
Run Powershell command line as adminstrator firstly, and input "Set-ExecutionPolicy -ExecutionPolicy Bypass" for setting execution policy, then input "Get-ExecutionPolicy" to get current execution policy.
>Get-ExecutionPolicy
Restricted
>Set-ExecutionPolicy -ExecutionPolicy Bypass批评
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
>Get-ExecutionPolicy
Bypass
requirements.txt aes==1.0.0 certifi==2019.11.28 cffi==1.14.0 chardet==3.0.4 Click==7.0 colorama==0.4.3 common==0.1.2 cryptography==2.8 future==0.18.2 idna==2.9 intelhex==2.2.1 iso8601==0.1.12 loguru==0.3.2 lxml==4.5.0 Naked==0.1.31 NeedForCryptography==1.5 numpy==1.18.2 pkcs7==0.1.2 pycparser==2.20 pycryptodome==3.9.7 pycryptodomex==3.9.0 pynrfjprog==10.2.1 pyOpenSSL==19.1.0 pyserial==3.4 pytils==0.3 PyYAML==5.3 requests==2.23.0 serial==0.0.97 shellescape==3.8.1 six==1.14.0 tools==0.1.9 urllib3==1.25.8 win32-setctime==1.0.1