jssimporter / JSSImporter

JSSImporter is deprecated. Please see the wiki for alternatives
Apache License 2.0
145 stars 38 forks source link

[ERROR] : No module named idna #96

Closed LawrenceIRL closed 7 years ago

LawrenceIRL commented 7 years ago

When I install the JSS Importer integration piece for AutoPkgr, I get an this error but it does install:

A Python exception occurred during the execution of autopkg, see the system log for more details.

[ERROR] : No module named idna

It does seem to install though.

This happens on Mac OS X 10.11 and macOS 10.12. AutoPkg: 1.0.0 Git: 2.9.3 AutoPkgr: 1.4.2

homebysix commented 7 years ago

This seems like a duplicate of #95.

LawrenceIRL commented 7 years ago

@homebysix Agreed. I'd close #95 though as it has a typo but reference it as the error is clear here.

homebysix commented 7 years ago

A source familiar with the matter says that this command may need to be run on fresh Sierra installs before JSSImporter and python-jss will work:

sudo easy_install pip && pip install -I --user pyopenssl
sheagcraig commented 7 years ago

Wiki updated to include contemporary macOS extra installation steps. The next update may also include some prompting for users unlikely to see the extra steps on the project page README (i.e. AutoPkgr users)

macmule commented 7 years ago

FWIW, just saw this on 10.10.5.. so might not be a 10.12 change but maybe an JSSImporter/AutoPKG change?

(10.10.5 is a temp measure on this host.. promise!)

sheagcraig commented 7 years ago

Correct; it is not a Sierra issue. It is a macOS system python issue.

gerardweese commented 7 years ago

I ran into this issue recently and it was due to the version of pip that is installed on OSX via easy_install

Check your version with pip --version

If your not at least 9.0 run sudo pip install --upgrade pip then re-run sudo pip install -I --user pyopenssl