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 Boto3 with StaSH?

    Pythonista
    2
    3
    2167
    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.
    • stevegio
      stevegio last edited by

      I'm curious to know if anyone has been able successfully install boto3 with StaSH. Did a bunch of searches and didn't turn up much information.

      I'm new to Pythonista and have some Python experience but it seems that the pip installed with StaSH requires you to install dependencies by hand. All seem to pass the load test except for mock. Boto3 installs without it but if I try to run a script an connect to S3 I just get the error "no module named concurrent".

      I'm wondering if this is beyond the limits of what can be done with Pythonista.

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

        You can install concurrent module manually as follows (note that concurrent module has only one sub-module futures):

        pip install futures
        

        It will report import error but you can ignore that as it is correctly installed. Due to iOS limitation, only ThreadPoolExecutor can work in Pythonista, NOT ProcessPoolExecutor.

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

          Thank you for the push in the right direction. I could not install "futures" but I was able to install "future" which got everything working.

          Super impressed with Pythonista. This is going to really boost my productivity on the iPad Pro!

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors