Skip to content
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

I'm having trouble running the python script on macOS Catalina. #51

Closed
ghost opened this issue Oct 16, 2019 · 3 comments
Closed

I'm having trouble running the python script on macOS Catalina. #51

ghost opened this issue Oct 16, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2019

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.

@sampsyo
Copy link
Owner

sampsyo commented Oct 16, 2019

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.

@Lex-campbell
Copy link

Lex-campbell commented Nov 20, 2019

I had a few similar issues on Catalina. I followed this guide and it helped me:

Homebrew/homebrew-core#44996

Basically re-installed python 3 by running $ brew reinstall -s python

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

@gladhorn
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants