| 1 | We **strongly** recommend that Windows users use [Docker](docker_quickstart.md) as this will work much easier and smoother (also more secure). |
| 2 | |
| 3 | If that is not possible, try using the Windows Linux subsystem (WSL) - for which the Ubuntu instructions should work. |
| 4 | Otherwise, try the instructions below. |
| 5 | |
| 6 | ## Install freqtrade manually |
| 7 | |
| 8 | !!! Note |
| 9 | Make sure to use 64bit Windows and 64bit Python to avoid problems with backtesting or hyperopt due to the memory constraints 32bit applications have under Windows. |
| 10 | |
| 11 | !!! Hint |
| 12 | Using the [Anaconda Distribution](https://www.anaconda.com/distribution/) under Windows can greatly help with installation problems. Check out the [Anaconda installation section](installation.md#Anaconda) in this document for more information. |
| 13 | |
| 14 | ### 1. Clone the git repository |
| 15 | |
| 16 | ```bash |
| 17 | git clone https://github.com/freqtrade/freqtrade.git |
| 18 | ``` |
| 19 | |
| 20 | ### 2. Install ta-lib |
| 21 | |
| 22 | Install ta-lib according to the [ta-lib documentation](https://github.com/mrjbq7/ta-lib#windows). |
| 23 | |
| 24 | As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), there is also a repository of unofficial precompiled windows Wheels [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib), which needs to be downloaded and installed using `pip install TA_Lib‑0.4.19‑cp38‑cp38‑win_amd64.whl` (make sure to use the version matching your python version) |
| 25 | |
| 26 | Freqtrade provides these dependencies for the latest 2 Python versions (3.7 and 3.8) and for 64bit Windows. |
| 27 | Other versions must be downloaded from the above link. |
| 28 | |
| 29 | ``` powershell |
| 30 | cd \path\freqtrade |
| 31 | python -m venv .env |
| 32 | .env\Scripts\activate.ps1 |
| 33 | # optionally install ta-lib from wheel |
| 34 | # Eventually adjust the below filename to match the downloaded wheel |
| 35 | pip install build_helpers/TA_Lib-0.4.19-cp38-cp38-win_amd64.whl |
| 36 | pip install -r requirements.txt |
| 37 | pip install -e . |
| 38 | freqtrade |
| 39 | ``` |
| 40 | |
| 41 | !!! Note "Use Powershell" |
| 42 | The above installation script assumes you're using powershell on a 64bit windows. |
| 43 | Commands for the legacy CMD windows console may differ. |
| 44 | |
| 45 | > Thanks [Owdr](https://github.com/Owdr) for the commands. Source: [Issue #222](https://github.com/freqtrade/freqtrade/issues/222) |
| 46 | |
| 47 | ### Error during installation on Windows |
| 48 | |
| 49 | ``` bash |
| 50 | error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools |
| 51 | ``` |
| 52 | |
| 53 | Unfortunately, many packages requiring compilation don't provide a pre-built wheel. It is therefore mandatory to have a C/C++ compiler installed and available for your python environment to use. |
| 54 | |
| 55 | The easiest way is to download install Microsoft Visual Studio Community [here](https://visualstudio.microsoft.com/downloads/) and make sure to install "Common Tools for Visual C++" to enable building C code on Windows. Unfortunately, this is a heavy download / dependency (~4Gb) so you might want to consider WSL or [docker compose](docker_quickstart.md) first. |
| 56 | |
| 57 | --- |