mariostoev / finviz

Unofficial API for finviz.com
MIT License
1.06k stars 277 forks source link

No module named 'user_agent' bug #48

Closed bdamele closed 4 years ago

bdamele commented 4 years ago

Bug report:

# python3 example.py
Traceback (most recent call last):
  File "example.py", line 3, in <module>
    from finviz.helper_functions.save_data import export_to_db, export_to_csv
  File "/mnt/c/Users/consultant/Documents/software/finviz/finviz/__init__.py", line 1, in <module>
    from finviz.screener import Screener
  File "/mnt/c/Users/consultant/Documents/software/finviz/finviz/screener.py", line 1, in <module>
    from finviz.helper_functions.request_functions import Connector, http_request_get
  File "/mnt/c/Users/consultant/Documents/software/finviz/finviz/helper_functions/request_functions.py", line 3, in <module>
    from user_agent import generate_user_agent
ModuleNotFoundError: No module named 'user_agent'
baophamtd commented 4 years ago

@inquisb maybe you can try pip install user_agent?