omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Installing library

    Pythonista
    chatbot pythonista 3 gamebot telegram bot
    4
    6
    5879
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hoho9274
      hoho9274 last edited by

      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!!

      1 Reply Last reply Reply Quote 0
      • lachlantula
        lachlantula last edited by

        Try use pip instead.
        Enter this in stash:

        pip install python-telegram-bot
        
        1 Reply Last reply Reply Quote 0
        • hoho9274
          hoho9274 last edited by

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

          1 Reply Last reply Reply Quote 0
          • hoho9274
            hoho9274 last edited by

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

            1 Reply Last reply Reply Quote 0
            • jmv38
              jmv38 last edited by

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

              1 Reply Last reply Reply Quote 0
              • Kiwon Kim
                Kiwon Kim last edited by ccc

                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
                
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors