WPS Analytics provides a Jupyter kernel that enables SAS language functionality to be used in JupyterLab or a Jupyter Notebook. You must have Python installed (see the Python website for information), and a working JupyterLab or Jupyter Notebook installation (see the Jupyter website for information).
You require administrative privileges to install the WPS Analytics Jupyter kernel for all users.
To Install the WPS Analytics Jupyter Kernel:
- Add the Python installation directory to your PATH variable:
- In the Windows Control Panel, select System and click Advanced System Settings.
- In the Advanced tab, click Environment Variables.
- Select the PATH entry in System Variables and then click Edit.
- In the Edit environment variable dialog box, click New and enter the installation folder path.
- Click OK to save the changes, and close the remaining system and security dialogs by clicking OK each time.
- If WPS Analytics is not installed, install (see Installing WPS Analytics on Windows) and apply your WPS licence (see Applying a licence key using WPS Workbench).
- Ensure that the WPSHOME environment variable is set to point to the WPS Analytics installation directory, for example, C:\Program Files\World Programming\WPS\4
- Create a folder called WPS for the WPS Analytics kernel:
- If Jupyter is installed for a single user, create the WPS folder in
C:\Users\<userid>\AppData\Roaming\jupyter\kernels - If Jupyter is installed for all users, create a the WPS folder in
C:\ProgramData\jupyter\kernels
- If Jupyter is installed for a single user, create the WPS folder in
- Copy the content of the jupyter folder in the WPS Analytics installation directory to the WPS folder.
- In the kernel.json file, edit the first string on the argv line to reference the wpsjkrnl file in the WPS Analytics installation directory, for example "C:/program files/World Programming/WPS/4/bin/wpsjkrnl".
Do not use a single backslash (\) as the path delimiter in the string as this is interpreted by Python as the escape character. Use either a forward slash (/) or an escaped backslash (\\) as the path delimiter.
Comments
0 comments
Article is closed for comments.