Skip to content

Commit 0dbd70c

Browse files
committed
Update README.md
1 parent 59fdef4 commit 0dbd70c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ in a terminal and run the following command:
2323

2424
(on Windows, and some linux-based boards such as the Yun, omit the sudo)
2525

26+
### Raspberry Pi SSL Note
27+
28+
Note on a Raspberry Pi with Python 2.7.3 you might see warnings like:
29+
30+
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
31+
32+
To remove this warning you can install better SSL support for Python by running these
33+
commands in a terminal
34+
35+
sudo apt-get update
36+
sudo apt-get install -y python-pip python-dev build-essential libffi-dev libssl-dev
37+
sudo pip install requests[security]
38+
39+
Restart the Pi and you should see the warnings disappear.
40+
41+
2642
## Usage
2743

2844
You must have an [Adafruit IO key](https://learn.adafruit.com/adafruit-io/api-key) to use this library and the Adafruit IO service.

0 commit comments

Comments
 (0)