leogomezz4t / PyTextNow_API

Python texting API utilizing TextNow API
MIT License
67 stars 41 forks source link

No module named PyTextNow #28

Closed showf68 closed 3 years ago

showf68 commented 3 years ago

i installed the module with pip3, and when running the script with python myscript.py, i receive error import PyTextNow ImportError: No module named PyTextNow

leogomezz4t commented 3 years ago

Yeah the import goes like this 'import pytextnow' with a lowercase

showf68 commented 3 years ago

same problem

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 29/06/21, 22:20:32

Le mar. 29 juin 2021 à 22:13, Leo Wu-Gomez @.***> a écrit :

Yeah the import goes like this 'import pytextnow' with a lowercase

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leogomezz4t/PyTextNow_API/issues/28#issuecomment-870847934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK53Y7VGXFTMFJN2MOQDWT3TVILMLANCNFSM47Q2F2ZA .

SilverStrings024 commented 3 years ago

Can you give us your code in dpaste.org ? It's difficult to debug someone's code without seeing it.

bryanperez43 commented 3 years ago

are you using the proper version of python that is linked to your pip3?

i.e.

pip3 -V
pip 20.2.2 from /home/$USER/.local/lib/python3.6/site-packages/pip (python 3.6)

therefore, if I wanted to import pytextnow I would have to make sure that python3 is linked to python3.6. to check, simply (on the terminal).

python3 -V
Python 3.6.9
showf68 commented 3 years ago

ok, now a new problem /usr/lib/python3/dist-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning)

bryanperez43 commented 3 years ago
pip3 install --upgrade --force-reinstall requests

should resolve the issue.

showf68 commented 3 years ago

thanks a lot, it's ok

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 29/06/21, 23:10:19

Le mar. 29 juin 2021 à 23:05, Bryan Perez @.***> a écrit :

pip3 install --upgrade --force-reinstall requests

should resolve the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leogomezz4t/PyTextNow_API/issues/28#issuecomment-870878709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK53Y7QGCLGZ5QPUXX3SKB3TVIRP3ANCNFSM47Q2F2ZA .

bryanperez43 commented 3 years ago

I believe PyTextNow version 1.1.7 does not handle the requests dependency with pip install this has been fixed for the upcoming 2.0.0 version