Skip to content

Commit 5ef50ca

Browse files
committed
Add troubleshooting tips
1 parent dd39e55 commit 5ef50ca

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,9 @@ source ~/.bashrc
214214
Certain flavours of Ubuntu ship with fewer developer essentials than others. You will likely need to install the following packages:
215215

216216
```bash
217-
sudo apt-get install libssl-dev
218-
sudo apt-get install libsqlite3-dev
219-
sudo apt-get install libreadline-dev
220-
sudo apt-get install build-essential
217+
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
218+
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
219+
xz-utils tk-dev libffi-dev liblzma-dev python-openssl
221220
```
222221

223222
If you aren't using Ubuntu you may want to search for equivalent packages for your version of Linux.
@@ -276,6 +275,14 @@ pyenv install 3.7.1
276275
python --version # <-- should output 3.7.1, or whatever version you installed.
277276
```
278277

278+
### If you get an error like "ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?"
279+
280+
Try the following command instead (again, filling in the specific version you're trying to install):
281+
282+
```bash
283+
CFLAGS=-I/usr/include/openssl LDFLAGS=-L/usr/lib pyenv install 3.7.1
284+
```
285+
279286
To check that you'll be able to install new Python packages using pip, run:
280287

281288
```bash

0 commit comments

Comments
 (0)