-
Notifications
You must be signed in to change notification settings - Fork 98
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
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'? #76
Comments
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'? You're using the wrong library!
test code:
|
I installed it with the pip command mentioned in the readme and the os still cause the error. But then I copied the BlynkLib.py file and placed it in the same folder of the testing code and it works. I am new to this and not sure why and how it works with the source file rather then the pip installed version. |
What that did is pulling the lib from a different git. “os.uname” was the clue 😉 |
I am trying to run the example code on Windows 10 and when simple import cause this error
import BlynkLib
Traceback (most recent call last):
File "<pyshell#8>", line 1, in
import BlynkLib
File "C:\Program Files\Python311\Lib\site-packages\BlynkLib.py", line 49, in
/___/ for Python v""" + _VERSION + " (" + os.uname()[0] + ")\n")
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
The text was updated successfully, but these errors were encountered: