Skip to content

Latest commit

 

History

History

WinPython

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

WinPython

Using Powershell on Jupyter Notebook on WinPython.

Installing

Installations

.\WinPython.ps1 [Script Option(s)]

Script Options

  • WinPythonVersion
    Specify version of the WinPython.
    Mandatory: No
    Default: 3.9
    e.g.: .\WinPython.ps1 -WinPythonVersion 3.10

  • WinPythonType
    Specify type of the WinPython.
    Mandatory: No
    Default: dot e.g.: .\WinPython.ps1 -WinPythonType cod

  • WinPythonPath
    Specify installation path of the WinPython.
    Mandatory: No
    Default: $env:LOCALAPPDATA\Programs\WinPython
    e.g.: .\WinPython.ps1 -WinPythonPath C:\PathTo\WinPython

  • UsePipKernel
    This switch option will install Jupyter Powershell Kernel instead of Jupyter-PowerShell5.
    e.g.: .\WinPython.ps1 -UsePipKernel

  • InstallPwsh7ForPipKernel
    This switch option will install latest PowerShell 7 and available it in Jupyter Notebook options with Jupyter Powershell Kernel.
    e.g.: .\WinPython.ps1 -UsePipKernel -InstallPwsh7ForPipKernel

  • PowerShell7Path
    Specify installation path of the PowerShell 7.
    Mandatory: No
    Default: $env:LOCALAPPDATA\Programs\WinPython\pwsh7
    e.g.: .\WinPython.ps1 -InstallPwsh7ForPipKernel -PowerShell7Path C:\PathTo\WinPython

  • InstallNBExtensions
    This switch option will install Jupyter Nbextensions and Jupyter Nbextensions Configurator.
    e.g.: .\WinPython.ps1 -InstallNBExtensions

  • InstallNIIExtensions
    This switch option will install NII Extensions for Jupyter Notebook. then requires the git for installation or add "-InstallPortableGit" option.
    e.g.: .\WinPython.ps1 -InstallNIIExtensions

  • InstallPortableGit
    This switch option will install PortableGit.
    e.g.: .\WinPython.ps1 -InstallPortableGit

  • InstallDotnetInteractive
    This switch option will install .Net Interactive.
    e.g.: .\WinPython.ps1 -InstallDotnetInteractive

  • PortableGitPath
    Specify installation path of the PortableGit.
    Mandatory: No
    Default: $env:LOCALAPPDATA\Programs\WinPython\PortableGit
    e.g.: .\WinPython.ps1 -InstallPortableGit -PortableGitPath C:\PathTo\PortableGit

  • CleanupDownloadFiles
    This switch option will delete downloaded files after installations.
    e.g.: .\WinPython.ps1 -DoNotCleanupDownloadFiles

  • WorkingFolder [Folder Path]
    Specify the working folder in this script. Default: $PSScriptRoot (Same folder as this script)
    Mandatory: No
    e.g.: .\WinPython.ps1 -WorkingFolder C:\pathto\folder

  • AddStartMenu This switch option will add WinPython binaries to Windows start menu.
    e.g.: .\WinPython.ps1 -AddStartMenu

Installation Example

Set-Location $env:HOMEPATH
Invoke-WebRequest -UseBasicParsing `
    -Uri https://github.com/sakaztk/pwsh-notebook/raw/master/WinPython/WinPython.ps1 `
    -OutFile .\WinPython.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\WinPython.ps1 -CleanupDownloadFiles -WorkingFolder $env:HOMEPATH -AddStartMenu -Verbose