September 14, 2023
Starknet-py lib installation
1. Open Powershell as an administrator
2. Enter the following commands in the Powershell window:
Paste first command a single, so copy all lines entirely
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install mingw
3. Open the "Run" dialog by pressing the Win + R
key combination.
4. Type systempropertiesadvanced
and press Enter
5. When the dialog box appears, go to the "Advanced" tab and click on the "Environment Variables" button
6. Find the Path in the system variables section variable and double-click on it
8. In the blank field, enter C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin
9. Click "OK" in each open window.
10. Restart your PC, after which the library will be successfully installed.