Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell symlink python as python3

# for Windows user
# make sure you run this in Administrator Powershell
$venv=((get-command python).source | Get-ItemProperty).DirectoryName;New-Item -Path $venv -Name "python3.exe" -Value "$venvpython.exe" -ItemType SymbolicLink
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #powershell #symlink #python
ADD COMMENT
Topic
Name
9+6 =