From 3096c3969f3c4e7bc7b0d8cd156124ff059e8ee2 Mon Sep 17 00:00:00 2001 From: matthewwall Date: Fri, 7 Oct 2016 15:01:26 -0400 Subject: [PATCH] clarify prerequisites on macosx install --- docs/macos.htm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/macos.htm b/docs/macos.htm index 325c13c3..6cc9293f 100644 --- a/docs/macos.htm +++ b/docs/macos.htm @@ -25,8 +25,11 @@ Download the source archive weewx-X.Y.Z.tar.gz from weewx.com/downloads.

-

Install

-

Install pre-requisites:

+

Install prerequisites

+

Ensure that Python2 is installed. Python 2.6 or 2.7 will work, + but Python 3 will not.

+
python -V
+

Install the required Python packages using easy_install:

sudo easy_install pysqlite
 sudo easy_install configobj
 sudo easy_install Cheetah
@@ -35,8 +38,11 @@ sudo easy_install pyserial
 sudo easy_install pyusb
 sudo easy_install pyephem

Depending on the MacOS and Python versions, you might have to use Pillow instead of PIL.

-

If the PIL or Cheetah installation fails, you might have to install xcode then try the easy_install again:

+

If the PIL or Cheetah installation fails, you might have to install xcode:

xcode-select --install
+

then try the easy_install again.

+ +

Install weewx

Expand the source archive:

tar xvfz weewx-X.Y.Z.tar.gz

Change directory: