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.


    Requests Library import fail when in UI designer action workflow

    Editorial
    1
    1
    1347
    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.
    • phillipsmn
      phillipsmn last edited by

      I was wondering if anyone else has been experiencing issues with importing libraries in a python script that is assigned to a button action. I am trying to run a script that imports the requests library. In my workflows library, his script works every time. When I try to use that script as a part of an action assigned to a button in the UI designer, the message I get is "ImportError: cannot import name _htmlparser".

      Any help would be appreciated.

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