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

about import pytextbelt #2

Open
kepy909 opened this issue Mar 2, 2020 · 1 comment
Open

about import pytextbelt #2

kepy909 opened this issue Mar 2, 2020 · 1 comment

Comments

@kepy909
Copy link

kepy909 commented Mar 2, 2020

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.

@stevenson007
Copy link

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.

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

2 participants