× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am having trouble installing things using pip from my Litmis Space for Python.

I don't know if this is affecting all Python users on Litmis, or just
those who asked for gcc, or just me. When I try to install anything
with pip, I get the following:

Traceback (most recent call last):
File "/QOpenSys/usr/bin/pip", line 9, in <module>
load_entry_point('pip==8.1.1', 'console_scripts', 'pip3')()
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/setuptools-20.3.1-py3.4.egg/pkg_resources/__init__.py",
line 549, in load_entry_point
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/setuptools-20.3.1-py3.4.egg/pkg_resources/__init__.py",
line 2542, in load_entry_point
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/setuptools-20.3.1-py3.4.egg/pkg_resources/__init__.py",
line 2202, in load
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/setuptools-20.3.1-py3.4.egg/pkg_resources/__init__.py",
line 2208, in resolve
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/__init__.py",
line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/vcs/subversion.py",
line 9, in <module>
from pip.index import Link
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/index.py",
line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/wheel.py",
line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/_vendor/distlib/scripts.py",
line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip-8.1.1-py3.4.egg/pip/_vendor/distlib/compat.py",
line 66, in <module>
from urllib.request import (urlopen, urlretrieve, Request, url2pathname,
ImportError: cannot import name 'HTTPSHandler'

A bit of quick Googling indicates that this is most likely due to
Python not being able to find SSL support. And indeed, I get this in
an interactive Python session:

Python 3.4.4 (default, Mar 23 2016, 11:07:11)
[GCC 4.8.4] on aix6
Type "help", "copyright", "credits" or "license" for more information.
import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/ssl.py",
line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: Could not load module
/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/lib-dynload/_ssl.so.
Dependent module /opt/freeware/lib/libssl.a(libssl.so.1) could
not be loaded.
Member libssl.so.1 is not found in archive
Could not load module
/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/lib-dynload/_ssl.so.
Dependent module
/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/lib-dynload/_ssl.so
could not be loaded.

Now, I did install some things using pip a while ago (they are still
there and can still be imported from my account), so I know it used to
work.

And I can use pip just fine on my PUB400 account.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.