Follow these steps to install this Server-Side Extension (SSE) on an offline Windows machine.
You will need an alternate Windows machine with Internet access to prepare the files, and a way to transfer these files to the target machine.
Use a Windows machine with Internet access for these steps.
- Download the Python 3.6 offline executable installer and copy it to the target machine.
- Create a layout for the MS Visual C++ Build Tools.
- Get the installation file for Visual C++ Build Tools.
- Use a terminal to create an offline layout for the required components.
vs_buildtools__<version id>.exe --layout --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop --includeRecommended
- Copy the layout folder to the target machine.
- Detailed instructions are available in the Visual Studio documentation.
- Download the Python packages required for this project.
- The Python version on this machine should match the target machine.
- Download the required packages from a terminal using pip.
pip download setuptools wheel grpcio grpcio-tools numpy scipy pandas cython joblib==0.11 pystan==2.17 fbprophet==0.4.post2 scikit-learn==0.21.3 hdbscan==0.8.23 skater==1.1.2 efficient_apriori==1.0.0 spacy==2.1.4 https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz tensorflow==1.14.0 keras==2.2.5
- Copy the package files to the target machine into a folder named
offline
.
- Download the latest release for this SSE and copy it to the target machine.
- Download
Qlik-Py-Init Offline.bat
from the project's repository on GitHub underoffline-install
.
- Install Python 3.6 using the offline executable. Remember to select the option to add Python to your PATH environment variable.
- Use a terminal to install MS Visual C++ Build Tools from the layout folder prepared earlier.
vs_buildtools__<version id>.exe --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop --includeRecommended
- Extract the latest release for this SSE to a location of your choice.
- Place the
offline
folder with the Python package files into the same location. - Copy
Qlik-Py-Init Offline.bat
to the same location, right click and chose 'Run as Administrator'. - Continue with the installation steps in the main documentation.