cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1449
Views
1
Helpful
1
Replies

ERROR WHEN IMPORTING ACITOOLKIT

Michael Aossey
Level 4
Level 4

I have downloaded acitoolkit from github, unpacked the zip and run the install on my mac by issuing "sudo python setup.py install" but when i try to import the module using "from acitoolkit.acitoolkit import *", I get the exception below. I have made checked to be sure that six installed via pip, and it is. I am running python 2.7.10.

Does anyone know why this would be happening or how to fix it? Thank you in advance for your help! -Mike

>>> from acitoolkit.acitoolkit import *

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "acitoolkit/__init__.py", line 23, in <module>

from .acibaseobject import Tag # noqa

File "acitoolkit/acibaseobject.py", line 38, in <module>

from .acisession import Session

File "acitoolkit/acisession.py", line 46, in <module>

from six.moves.queue import Queue

ImportError: No module named queue

1 Reply 1

miciesla
Cisco Employee
Cisco Employee

Add this to your .bash_profile

export PYTHONPATH=/Library/Python/2.7/site-packages/:$PYTHONPATH

and

$ sudo easy_install bpython