-
Notifications
You must be signed in to change notification settings - Fork 30
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
New to this - HELP! #8
Comments
Hi arjundhawan, the problem is that you're entering those commands into your system shell, but they are python statements rather than shell commands. You need to start a python interpreter (probably by typing "python") and then you can use the commands you've typed here. |
Not working either
|
Did you install nanoleaf with pip? (note - if you're new to coding you may want to start with something like Dive Into Python 3 to get a better feel for basic syntax & usage) |
Hi, had to enter commands from Venv to work thanks !! |
Could you help me out? When I use the pip install command, I get: pi@jacobwtyler:~/nanoleaf $ pip install nanoleaf --upgrade
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-S08u0G/nanoleaf/ |
I tried creating a virtualenv as you suggested and it gave the exact same error. |
Python 3 is required, use 'pip3' if python 2 is the system default. |
Okay thank you! |
Really appreciate this post. I rarely ever deal directly with Python scripts so this was very instructive on how to get through the one time setup steps. I think it would be very helpful if you include this basic information as "requirements" when sharing the documentation, so those of us not familiar with the distinction know where to focus. I had a similar problem with the new Lutron Caseta setup in Home Assistant. There was simply a series of commands to be run to generate the necessary files, but it took me weeks to figure out how to use them. I was encountering different versions of Python with different commands, then different versions of pip with different commands. It was all new to me. I still don't know if there were version requirements for the scripts. The series of commands that worked for me were the opposite of what worked for another user I was chatting with. This thread actually helped me understand WHY (these can't just be run from a shell command line!). Just suggesting you provide these requirements in documentation for users. |
Hello! New to coding, and I need help. Keep getting the following error. How do I move forward?
Arjuns-MacBook-Pro:~ root# from nanoleaf import setup
from: can't read /var/mail/nanoleaf
Arjuns-MacBook-Pro:~ root# ipAddressList = setup.find_auroras()
-sh: syntax error near unexpected token `('
The text was updated successfully, but these errors were encountered: