Skip to content
Snippets Groups Projects
Commit 54b5b2a7 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Unified Python and Conan install instructions.

parent 8a338571
No related branches found
No related tags found
No related merge requests found
......@@ -197,45 +197,51 @@ $ brew install cmake
```
:::
## Step: Install Conan package manager
The [Conan package manager](https://www.conan.io) helps to install all required libraries in a convenient way on every platform. If you prefer you can also [install libraries manually]({{< ref "third-party-libraries.pandoc" >}}) instead.
Go to [Conans download page](https://www.conan.io/downloads) and see platform-specific instructions:
## Step: Install Python 3
::: {.win}
Just use the provided Windows installer and make sure to add conan to your path environment as asked by the installer.
Check on a newly opened command line if Conan was installed successfully:
- [Download the Python 3 installer](https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64-webinstall.exe)
- Install with the following options
- Check *Add Python 3.X to PATH*
- *Customize installation*
- Make sure to have `pip` enabled (you may uncheck *Documentation*, *tcl/tk*, *Python test suite*)
- You may check *Install for all users*
- Check *Add Python to environment variables*!
```bash
$ conan --version
Conan version 1.0.4
```
:::
::: {.linux}
Use either the provided deb-package or install via Pythons `pip`.
Check on a newly opened command line if Conan was installed successfully:
Install Python 3 and pip:
```bash
$ conan --version
Conan version 1.0.4
sudo apt-get install python3 python3-pip
```
:::
::: {.mac}
Use Homebrew:
Install Python 3 with Homebrew:
```bash
brew install conan
brew install python
```
:::
## Step: Install Conan package manager
The [Conan package manager](https://www.conan.io) helps to install all required libraries in a convenient way on every platform. If you prefer you can also [install libraries manually]({{< ref "third-party-libraries.pandoc" >}}) instead.
Install Conan with Python's pip:
```bash
pip3 install --user conan
```
Check on a newly opened command line if Conan was installed successfully:
```bash
$ conan --version
Conan version 1.0.4
Conan version 1.12.3
```
:::
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment