@@ -48,7 +48,9 @@ For more detail on building pyzmq, see [our Wiki](https://github.com/zeromq/pyzm
48
48
49
49
We build wheels for macOS, Windows, and Linux, so you can get a binary on those platforms with:
50
50
51
- pip install pyzmq
51
+ ```
52
+ pip install pyzmq
53
+ ```
52
54
53
55
but compiling from source with ` pip install pyzmq ` should work in most environments.
54
56
Especially on macOS, make sure you are using the latest pip (≥ 8), or it may not find the right wheels.
@@ -57,17 +59,21 @@ If the wheel doesn't work for some reason, or you want to force pyzmq to be comp
57
59
(this is often preferable if you already have libzmq installed and configured the way you want it),
58
60
you can force installation with:
59
61
60
- pip install --no-binary=:all: pyzmq
62
+ ```
63
+ pip install --no-binary=:all: pyzmq
64
+ ```
61
65
62
66
When compiling pyzmq (e.g. installing with pip on Linux),
63
67
it is generally recommended that zeromq be installed separately,
64
68
via homebrew, apt, yum, etc:
65
69
66
- # Debian-based
67
- sudo apt-get install libzmq3-dev
70
+ ```
71
+ # Debian-based
72
+ sudo apt-get install libzmq3-dev
68
73
69
- # RHEL-based
70
- sudo yum install libzmq3-devel
74
+ # RHEL-based
75
+ sudo yum install libzmq3-devel
76
+ ```
71
77
72
78
If this is not available, pyzmq will _ try_ to build libzmq as a Python Extension,
73
79
though this is not guaranteed to work.
@@ -79,9 +85,11 @@ Building pyzmq from the git repo (including release tags on GitHub) requires Cyt
79
85
pyzmq 16 drops support Python 2.6 and 3.2.
80
86
If you need to use one of those Python versions, you can pin your pyzmq version to before 16:
81
87
82
- pip install 'pyzmq<16'
88
+ ```
89
+ pip install 'pyzmq<16'
90
+ ```
83
91
84
- For libzmq 2.0.x, use 'pyzmq<2.1'
92
+ For libzmq 2.0.x, use 'pyzmq\ < 2.1'
85
93
86
94
pyzmq-2.1.11 was the last version of pyzmq to support Python 2.5,
87
95
and pyzmq ≥ 2.2.0 requires Python ≥ 2.6.
0 commit comments