To run Python programs in WPS Analytics you require a Python interpreter and at least the pandas package. Neither the Python interpreter nor pandas package are distributed with WPS Analytics.
To install the Python Interpreter:
- Download the Python installation from the Python Software Foundation or packaged Python environment.
WPS Analytics supports Python version 3.6 or later. Make sure you select the correct interpreter version to match your 32-bit or 64-bit WPS Analytics installation. - On the same device as WPS Analytics is installed, run the Python installer.
- Once the Interpreter is installed, set the PYTHONHOME environment variable:
- In the Windows Control Panel/System and Security, select System and click Advanced System Settings.
- In the Advanced tab, click Environment Variables.
- In System variables, click New.
- In Variable Name, enter PYTHONHOME.
- In Variable value, enter the path to the folder containing the Python library is located, for example C:\Program Files\python3.
- Click OK to save the changes and close the dialog boxes by clicking OK each time.
- If not installed, add the pandas package to the Python installation.
- To check if the pandas package is installed, at the command prompt type the following command:
pip list
- If the pandas package is not installed, enter the following command:
pip install pandas
- To check if the pandas package is installed, at the command prompt type the following command:
More information about using Python in WPS Analytics:
Comments
0 comments
Article is closed for comments.