Forum Archive

Installing library

hoho9274

Hello, everyone. I am new to pythonista. I am now using pythonista 3 for my telegram bot. However after installed the Stash and with command-line git clone and python setup.py, it is still not working.
Error occur with no modules named telegram.ext.

Does anyone can give me suggestion??

Thank you very much!!

lachlantula

Try use pip instead.
Enter this in stash:

pip install python-telegram-bot
hoho9274

Same error occurred.
Is it related to "site-packages"??
I still don't understand the usage of "site packages" folder.

hoho9274

Finally, I installed pipista, and put modules inside "pypi-modules" and it works!!!

jmv38

@hoho9274 since you finally succeeded on a recent version pythonista 3, could you describe how to proceed? Thanks.

Kiwon Kim

use console and type below script
1. In the Pythonista console, type:

import requests as r
exec(r.get('https://bit.ly/get-stash').content)

after install successful and restart pythonista

  1. find and run launch_stash.py in "This iPhone" menu

  2. install telegram bot with pip in the console

pip install python-telegram-bot