Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] : No module named idna #96

Closed
LawrenceIRL opened this issue Nov 29, 2016 · 7 comments
Closed

[ERROR] : No module named idna #96

LawrenceIRL opened this issue Nov 29, 2016 · 7 comments

Comments

@LawrenceIRL
Copy link

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
Copy link
Contributor

This seems like a duplicate of #95.

@LawrenceIRL
Copy link
Author

LawrenceIRL commented Nov 29, 2016

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

@homebysix
Copy link
Contributor

homebysix commented Dec 1, 2016

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
Copy link
Collaborator

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
Copy link

macmule commented Jan 14, 2017

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
Copy link
Collaborator

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

@gerardweese
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants