You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble running the python script on macOS Catalina.
I am VERY inexperienced with coding and am receiving this message.
Brennans-MacBook-Pro:wideq Brennan$ python3 example.py -c US -l en-US
Traceback (most recent call last):
File "example.py", line 1, in
import wideq
File "/Users/Brennan/Desktop/custom_components/wideq/wideq/init.py", line 3, in
from .core import * # noqa
File "/Users/Brennan/Desktop/custom_components/wideq/wideq/core.py", line 9, in
import requests
ModuleNotFoundError: No module named 'requests'
Brennans-MacBook-Pro:wideq Brennan$
If anyone could help push me in the right direction that would be stellar.
The text was updated successfully, but these errors were encountered:
Hi! TBH this stuff may not quite be ready for non-technical users... but you'll need to pip install the module before using it to get its dependencies.
I then had the same issue as the thread above with the asn1crypto package, so i went $ cd /usr/local/lib/python3.7/site-packages and deleted anything to do with asn1crypto
Hope it helps
EDIT: looking more closely at your error log you are probably missing the requests module. Try pip3 install requests
Thanks for the report. I assume the comments helped, since no follow-up questions were asked. Since this seems not to be an issue with wideq, I'll close it.
I'm having trouble running the python script on macOS Catalina.
I am VERY inexperienced with coding and am receiving this message.
Brennans-MacBook-Pro:wideq Brennan$ python3 example.py -c US -l en-US
Traceback (most recent call last):
File "example.py", line 1, in
import wideq
File "/Users/Brennan/Desktop/custom_components/wideq/wideq/init.py", line 3, in
from .core import * # noqa
File "/Users/Brennan/Desktop/custom_components/wideq/wideq/core.py", line 9, in
import requests
ModuleNotFoundError: No module named 'requests'
Brennans-MacBook-Pro:wideq Brennan$
If anyone could help push me in the right direction that would be stellar.
The text was updated successfully, but these errors were encountered: