py-textbelt icon indicating copy to clipboard operation
py-textbelt copied to clipboard

about import pytextbelt

Open kepy909 opened this issue 5 years ago • 1 comments

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.

kepy909 avatar Mar 02 '20 02:03 kepy909

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.

stevenson007 avatar Oct 24 '22 07:10 stevenson007