Requirements for 4.0.094

  • JAVA
  • Python >= 2.7.10 + pip

Add Java to PATH (environment variable).

Requirements for previous versions

Add Java and Python paths to PATH (environment variable).

How to add Java and Python paths to Path

After downloading the file PYTHON and JAVA you have to open the System Configuration.

Use a shortcut to open that window is: Windows + Pause Break key.

_images/howtoinstall_path_atalho.jpg

Or click on Computer with right button of the mouse.

_images/howtoinstall_path_computer.png

Then click on Properties.

_images/howtoinstall_path_computer_properties.png

Computer System Configuration

_images/howtoinstall_path_variavel.jpg

Click on Advanced Settings.

_images/howtoinstall_path_conf-advanc.jpg

Then click on Environment Variables.

_images/howtoinstall_path_open-variavel.jpg

Find Path variable in the list.

_images/howtoinstall_path_search-path.jpg

Select Path, then click on Edit button.

_images/howtoinstall_path_select_variable.png

Put the cursor at the end of the line, insert the character “;” and complete with the Python path. Do the same to JAVA.

It means, insert the character “;” and complete with the JAVA path.

_images/installation_java.png

How to test the requirements are correctly installed

Make sure that this procedure was done correctly using a NEW window of DOS terminal. Do not use any which is already open. Open a NEW window of DOS terminal and type:

python -V

Expected:

img/howtoinstall_path_conferir-python.jpg

Then check Pillow:

Continue in the DOS terminal or Open a NEW window and type:

python
import PIL
exit()

Expected:

Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> exit()

If you have a message similar to:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named PIL

Install Pillow. If you have Python 32bits, Pillow must be 32 bits too. If you have Python 64 bits, use Pillow 64 bits.

Then check Java:

java -version

Expected:

_images/howtoinstall_path_conferir-java.jpg

With Java and Python installed and added to Path, the Markup program is almost ready for use.