ImportError: No module named six

Issue #19 wontfix
Former user created an issue

On AIX $ oslevel -r 6100-09 $

When I run the examples I get: $ python sas7bdat.py Traceback (most recent call last): File "sas7bdat.py", line 18, in <module> import six ImportError: No module named six $

Comments (3)

  1. Jared Hobbs repo owner

    You'll need to install six. This is for Python 2 / 3 compatibility. Should be as simple as pip install six

  2. Scott Rappoport

    Hi,

    First, thank you for this site. Well organized and concise responses.

    I hit this error, but when I tried to install six (pip install six) I got this error: C:\Program Files (x86)\Python 3.5>pip install six Collecting six Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(11001, 'getaddrinfo failed'))': /simple/six/

    I am working on a secure site -- no internet access -- so it sounds like this is the problem. Is there any way to bypass this?

    I have tried the following: C:\Program Files (x86)\Python 3.5>pip install --no-use-wheel --allow-all-external --allow-unverified six You must give at least one requirement to install (see "pip help install")

    C:\Program Files (x86)\Python 3.5>pip install --no-use-wheel --allow-all-external --allow-unverified six -v You must give at least one requirement to install (see "pip help install") Starting new HTTPS connection (1): pypi.python.org

    I am not sure what requirement I could give to help.

    My files reside here: C:\Program Files (x86)\Python 3.5\Lib\site-packages\pip_vendor\six.py C:\Program Files (x86)\Python 3.5\Lib\site-packages\pip_vendor__pycache__\six.cpython-35

    Any ideas welcome. I am not sure we can open the site up to the outside world.

    Thank you.

  3. Log in to comment