====== Installation of Python 3.7 ======
**Prerequisite:** Completely uninstall any older major version of Python, e.g. 3.4, on the machine.
===== Installation instructions =====
- Download the latest version from here: [[https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe|https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe]]
- Run the installation as ”Run as Administrator” (right-click on the installation file and select this option).
- Check ”Add Python 3.7 to PATH”. Then, click “Customize Installation”. {{:installation:python1.png?600|}}
- Make sure that the following checkboxes are checked, then click “Next”. {{:installation:python2.png?600|}}
- Check “Install for all users” and make sure that the checkboxes are checked. Then click “Install”. {{:installation:python3.png?600|}}
- After the installation, if the ”Disable length limit” question appears, __click this__ and then “Close”. {{:installation:python4.png?600|}}
===== Troubleshooting ====
If you experience any issues during the installation of Lime CRM Server after installing Python 3.7 - ensure that the following is fulfilled.
==== Make sure that Python 3.7 is in your path. ====
Open a cmd prompt, run the command python --version
and verify that the command returns version "3.7.X" (X might differ depending on what 3.7 release you have installed) and that it
is the 64 bit version of Python. If the command fails, you need to make sure that Python is installed and that it
exists in your path. If it returns the wrong version, you need to uninstall it and then install the correct version.
==== Make sure that no other Python version is installed or in your path. ====
Link to a resource that describes how to change the path: [[https://www.computerhope.com/issues/ch000549.htm]]
==== Make sure no old version/s of virtualenv is in your path. ====
Open a command prompt and run where virtualenv
Verify that the command either returns this:
C:\Windows\system32>where virtualenv
INFO: Could not find files for the given pattern(s).
Or:
C:\Windows\system32>where virtualenv
If the path points to Python34 you need to remove it from the path.