py-textbelt
py-textbelt copied to clipboard
about import pytextbelt
I want use pytextbelt, but try to runing python ./cli-sms.py xxx xxx report errors ImportError: No module named pytextbelt, so i try from pytextbelt.pytextbelt import Textbelt, still error.
I try to modify pip packages /pytextbelt/__init__.py
import requests from pytextbelt.pytextbelt import Textbelt
to
import requests from pytextbelt import Textbelt
, it's success.
textbelt lib is not available in the pypi repository. You should manually include the textbelt module in your working directory to make access easier and then import directly.