Wednesday, 15 April 2015

python - Utils module not imported -



python - Utils module not imported -

i have downloaded this bundle of python utils , , tried install it, entering folder , typing:

python setup.py install

the output seems fine: bundle installed , dependencies processed. however, when seek import:

$ python python 2.7.2 (default, dec 12 2011, 16:10:05) [gcc 4.1.2 20080704 (red hat 4.1.2-51)] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import utils traceback (most recent phone call last): file "<stdin>", line 1, in <module> importerror: no module named utils

what getting wrong?

the bundle called python_utils, not utils. import python_utils should work.

python import

No comments:

Post a Comment