This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt-get install cmake ninja-build gfortran | |
| pip install --upgrade pip | |
| pip install cython | |
| pip install numpy==1.23.* --no-binary=:all: --force-reinstall --no-cache -v | |
| pip install typing-extensions pytest hypothesis | |
| python -c "import numpy; numpy.test()" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Function to get WSL IP address | |
| function Get-WSLIP { | |
| return (wsl hostname -I).Trim() | |
| } | |
| # Function to add port forwarding rule | |
| function Add-PortForwardingRule { | |
| param ( | |
| [int]$HostPort = 22, | |
| [int]$WSLPort = 22, |
OlderNewer