File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,9 @@ source ~/.bashrc
214214Certain 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
223222If 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
276275python --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+
279286To check that you'll be able to install new Python packages using pip, run:
280287
281288``` bash
You can’t perform that action at this time.
0 commit comments