No categories assigned

Installing Python on Windows

< Setup:Installation Guide‎ | System Preparation‎ | Windows
icon required.png
Python with the extension Pygmentize is needed for the rendering of the MediaWiki extension "SyntaxHighlight", which is part of BlueSpice. The steps listed here are required.

Downloading Python

In Internet Explorer, open the official download page (1). Switch to the download page for Windows (2).

Python Download 01

Select the "executable installer" (64-bit):

Python Download 02

Follow the further download instructions and download the installation package to your hard drive.


Hint.jpg
Please note that the download on your Windows Server with Internet Explorer will only work if you have configured the Internet Explorer Advanced Security Settings in the Server Manager. Please refer to the technical documentation from Microsoft.


Hint.jpg
In this guide, Python is used in version 3.10.0 as an example. You can download the latest version at the time of installation.

Installing Python

Open the just-downloaded python-3.10.0-amd64.exe file.

Start the installation by clicking "Next".

Confirm both checkboxes (1) and then click "Customize installation" (2): Setup:py3.png

Confirm the next step with "Next":

Setup:py4.png

Make sure to install Python for all users (1) . Choose an appropriate path, if possible without spaces and special characters (2), and start the installation by clicking "Install" (3).

Setup:py5.png


Hint.jpg
This documentation is based on the folder structure recommended by us. For this reason, the default path for Python installation is set to the folder C:\bluespice\bin\python-3.10.0. If you have different requirements, you must adapt these paths accordingly.


Finish the installation by clicking "Close":

Setup:py6.png

Installing Pygmentize

Open the command prompt with admin permissions. To do this, right-click "Start" (1) and select "Command Prompt (Administrator)" (2):

Open command prompt as administrator

Enter the command "pip install pygments" and wait for the process to finish:

Setup:bs3-install-windows-python-06.png

Important!The pygmentize binary needs to be executable by the webserver user (see installation instructions for SyntaxHighlight).


Next step

If you have completed all steps successfully, you can delete the previously downloaded file "python-3.10.0-amd64.exe" from your hard drive. If you install BlueSpice pro, go to the next step "PhantomJS". If you install BlueSpice free, you can now continue with Installing BlueSpice.

Attachments

Discussions