[pypy-issue] Issue #2794: PIP: ssl module in Python is not available (pypy/pypy)

Каримов Денис issues-reply at bitbucket.org
Sun Apr 8 10:02:17 EDT 2018


New issue 2794: PIP: ssl module in Python is not available
https://bitbucket.org/pypy/pypy/issues/2794/pip-ssl-module-in-python-is-not-available

Каримов Денис:

Hi) I Have a problev with installing packages from PIP. What did i do:

* I download pypy from pypy.org: Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)
* Extract package to my `/opt/pypy3` folder
* Create simlink from `/opt/pypy3/bin/pypy3` to `/usr/local/bin/pypy3`
* Create virtualenv `virtualenv -p pypy3 pypy`, Also, i tried `virtualenv -p /opt/pypy3/bin/pypy3`
* Activate virtualenv `source /pypy/bin/activate`

When i fried to install packages from PIP, i take error:

```
$ pip install -r requirements.txt
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting Django==1.11.11 (from -r requirements.txt (line 1))
  Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement Django==1.11.11 (from -r requirements.txt (line 1)) (fromversions: )
No matching distribution found for Django==1.11.11 (from -r requirements.txt (line 1))
```

Also, i tried `pip install Django`. What i'm missed?




More information about the pypy-issue mailing list