Giter Club home page Giter Club logo

Comments (9)

2vw avatar 2vw commented on September 3, 2024

After installing microshits 6gb of bloat, i still end up with this error:

]
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]
‎
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aiohttp
Successfully built revolt.py
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

from revolt.py.

MCausc78 avatar MCausc78 commented on September 3, 2024

try pip install -U --force-reinstall aiohttp --extra-index-url https://abstractumbra.github.io/pip/, then pip install --no-deps revolt.py

from revolt.py.

2vw avatar 2vw commented on September 3, 2024

image

from revolt.py.

2vw avatar 2vw commented on September 3, 2024

image

from revolt.py.

MCausc78 avatar MCausc78 commented on September 3, 2024

have you tried python c:\Users\willi\Desktop\mecharevoltpy\main.py instead of clicking VSCode "Run" button?

from revolt.py.

2vw avatar 2vw commented on September 3, 2024

it works, but on running any command / saying hello i get errored out
AttributeError: module 'ulid' has no attribute 'new'

from revolt.py.

2vw avatar 2vw commented on September 3, 2024
  File "c:\Users\willi\Desktop\mecharevoltpy\main.py", line 10, in on_message
    await message.channel.send("hi how are you")
  File "C:\Users\willi\AppData\Local\Programs\Python\Python312\Lib\site-packages\revolt\messageable.py", line 67, in send
    message = await self.state.http.send_message(await self._get_channel_id(), content, embed_payload, attachments, reply_payload, masquerade_payload, interactions_payload)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\willi\AppData\Local\Programs\Python\Python312\Lib\site-packages\revolt\http.py", line 146, in send_message
    return await self.request("POST", f"/channels/{channel}/messages", json=json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\willi\AppData\Local\Programs\Python\Python312\Lib\site-packages\revolt\http.py", line 69, in request
    json["nonce"] = ulid.new().str # type: ignore
                    ^^^^^^^^
AttributeError: module 'ulid' has no attribute 'new'

from revolt.py.

MCausc78 avatar MCausc78 commented on September 3, 2024

try pip install ulid-py

from revolt.py.

Zomatree avatar Zomatree commented on September 3, 2024

You installed the wrong ulid library, please ensure you install the correct dependancies.

Please open a new issue or join the support server for any further issues

from revolt.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.