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.


    How to install discord.py on pythonista

    Pythonista
    discord.py ios discord bot
    4
    9
    2142
    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.
    • hello_magi
      hello_magi last edited by hello_magi

      Hello I was wondering how can install discord.py on pythonista. I am very new to coding and this is how I want to start off. Do i install it through the console or where I code the bot?. It would be greatly appreciated if you can help me.

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

        https://forum.omz-software.com/topic/6808/discord-py

        bezjosh99 1 Reply Last reply Reply Quote 1
        • bezjosh99
          bezjosh99 @ccc last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 1
          • hello_magi
            hello_magi last edited by hello_magi

            @ccc I need some assistance on something I am almost done installing all the modules but I am confused on this. It says

            module "attr" has no attribute 's'
            
            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by

              Please provide the full error message, not just the last line.

              hello_magi 1 Reply Last reply Reply Quote 0
              • JonB
                JonB last edited by

                Try

                import attr
                print(attr.__file__)
                1 Reply Last reply Reply Quote 2
                • hello_magi
                  hello_magi last edited by

                  @JonB where do should I do this? should I do it in attr.py?

                  1 Reply Last reply Reply Quote 0
                  • hello_magi
                    hello_magi @ccc last edited by

                    @ccc https://imgur.com/a/wAgRs7i here You can see the whole thing on this

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

                      I was asking for the text that is under the box with the two arrows in the upper right corner of the window.

                      You can run @JonB's code in the Python REPL. We suspect that it will show you the path to a file in the local directory called attr.py and its presence is preventing Python from finding a second file with the same name in the package. If this is the case, then rename the local file and try again.

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