-
Notifications
You must be signed in to change notification settings - Fork 20
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 running script #5
Comments
That should have worked: https://github.com/joaquincasares/python-wifi-leds/blob/master/tests/limitlessled.py#L128 How did you install the package? Try cloning the repo and placing your sample file in the root directory and try again. Perhaps I messed up in the actual packaging process. |
I installed the python module as instructed: pip install wifileds etc... when i run from terminal: locate wifileds the files are installed because it returns: /usr/local/lib/python2.7/dist-packages/wifileds |
What's the exact stacktrace you get when you try to run your code? Also, did running it in the folder work? |
Traceback (most recent call last): if the module was not installed correctly, python would give more errors, it only has a problem with the limitlessled part in the code, as if it was not defined what do you mean by running it from the folder? do there have to be more files in the folder I run the script from, besides that the module is installed? |
In the meantime, try cloning this repo and running your sample script from the repo's root directory. Let me know if that works for you please. |
yeah that works |
Hey Guys - I am facing the same issue as spambus got above: How did you guys fixed it? Also, what do you mean by running the sample script from repo's root directory? I tried running tests\limitless.py from multiple locations, and it always seem to fail. |
I have this python script:
!/usr/bin/env python
import wifileds
led_connection = wifileds.limitlessled.connect('192.168.2.10', 8899)
led_connection.rgbw.zone_on(1)
wich gives this error:
AttributeError: 'module' object has no attribute 'limitlessled'
Am I misisng something in the above code?
The text was updated successfully, but these errors were encountered: