Задать вопрос
  • Не могу установить os-sys, что делать?

    @GroznyDev Автор вопроса
    установления последния версия python на данный момент
    Написано
  • Не работает команда discord.py?

    @GroznyDev Автор вопроса
    Михаил Р., я выдал на сервере права администратора, но когда пишу команду он пишет "You cant do that!"
  • Не работает команда discord.py?

    @GroznyDev Автор вопроса
    пишет ошибку:
    [2023-11-13 15:52:57] [ERROR   ] discord.ext.commands.bot: Ignoring exception in command clean
    Traceback (most recent call last):
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 235, in wrapped
        ret = await coro(*args, **kwargs)
      File "C:\Users\daniel\Documents\Project\Grozny_bot\main.py", line 19, in clean
        await ctx.channel.purge(limit=limit)
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\channel.py", line 531, in purge
        return await discord.abc._purge_helper(
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\abc.py", line 180, in _purge_helper
        await ret[-1].delete()
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\message.py", line 859, in delete
        await self._state.http.delete_message(self.channel.id, self.id)
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 739, in request
        raise Forbidden(response, data)
    discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\bot.py", line 1350, in invoke
        await ctx.command.invoke(ctx)
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 1029, in invoke
        await injected(*ctx.args, **ctx.kwargs)  # type: ignore
      File "C:\Users\daniel\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 244, in wrapped
        raise CommandInvokeError(exc) from exc
    discord.ext.commands.errors.CommandInvokeError: Command raised an exception: Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
  • Проблема при установки библеотек python?

    @GroznyDev Автор вопроса
    Загир Меджидов, я там установил build tools, и запускал ,но ошибка все ровно осталась.
  • Проблема при установки библеотек python?

    @GroznyDev Автор вопроса
    Алан Гибизов, как мне решить проблему?
  • Проблема при установки библеотек python?

    @GroznyDev Автор вопроса
    !!
            check.warn(importable)
          copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict
          copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict
          running build_ext
          building 'multidict._multidict' extension
          error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
          [end of output]
    
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for multidict
      Building wheel for yarl (pyproject.toml) ... error
      error: subprocess-exited-with-error
    
      × Building wheel for yarl (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [49 lines of output]
          C:\Temp\pip-build-env-u9b75jcz\overlay\Lib\site-packages\setuptools\config\setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
          !!
    
                  ********************************************************************************
                  The license_file parameter is deprecated, use license_files instead.
    
                  This deprecation is overdue, please update your project and remove deprecated
                  calls to avoid build errors in the future.
    
                  See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
                  ********************************************************************************
    
          !!
            parsed = self.parsers.get(option_name, lambda x: x)(value)
          **********************
          * Accelerated build *
          **********************
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build\lib.win-amd64-cpython-312
          creating build\lib.win-amd64-cpython-312\yarl
          copying yarl\_quoting.py -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\_quoting_py.py -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\_url.py -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\__init__.py -> build\lib.win-amd64-cpython-312\yarl
          running egg_info
          writing yarl.egg-info\PKG-INFO
          writing dependency_links to yarl.egg-info\dependency_links.txt
          writing requirements to yarl.egg-info\requires.txt
          writing top-level names to yarl.egg-info\top_level.txt
          reading manifest file 'yarl.egg-info\SOURCES.txt'
          reading manifest template 'MANIFEST.in'
          warning: no previously-included files matching '*.pyc' found anywhere in distribution
          warning: no previously-included files matching '*.cache' found anywhere in distribution
          warning: no previously-included files found matching 'yarl\*.html'
          warning: no previously-included files found matching 'yarl\*.so'
          warning: no previously-included files found matching 'yarl\*.pyd'
          no previously-included directories found matching 'docs\_build'
          adding license file 'LICENSE'
          writing manifest file 'yarl.egg-info\SOURCES.txt'
          copying yarl\__init__.pyi -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\_quoting_c.pyi -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\_quoting_c.pyx -> build\lib.win-amd64-cpython-312\yarl
          copying yarl\py.typed -> build\lib.win-amd64-cpython-312\yarl
          running build_ext
          building 'yarl._quoting_c' extension
          error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
          [end of output]
    
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for yarl
    Failed to build aiohttp frozenlist multidict yarl
    ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects