Skip to content

installation successful but module is empty #5

Description

@nvolungis

I followed the installation steps as noted but get the following and try to simply print a value in my script.

import shiftpi    
print shiftpi
print shiftpi.HIGH

results in the following:
module 'shiftpi' from '/usr/local/lib/python2.7/dist-packages/shiftpi-0.2-py2.7.egg/shiftpi/init.pyc'
Traceback (most recent call last):
File "shift_register.py", line 3, in
print shiftpi.HIGH
AttributeError: 'module' object has no attribute 'HIGH'

Could this be an issue with python 2.7 incompatibility? I'd appreciate any help.

-Neil

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions