Не удалось установить модуль Discord на Dietpi Raspberry pi 4

Я пытаюсь установить модуль Discord, но моя малина не работает. Мне нужен модуль Discord для запуска бота класса Discord для выполнения домашних заданий. Я удалил все копии и замены из-за ограничений кода, связанных с переполнением стека, и отправил только предупреждения и ошибки.

ошибка:

Building wheels for collected packages: multidict, yarl
  Building wheel for multidict (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp1z1tiv8h
       cwd: /tmp/pip-install-rrd10h4t/multidict
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files found matching 'multidict/_multidict.html'
  warning: no previously-included files found matching 'multidict/*.so'
  warning: no previously-included files found matching 'multidict/*.pyd'
  warning: no previously-included files found matching 'multidict/*.pyd'
  no previously-included directories found matching 'docs/_build'
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c multidict/_multidict.c -o build/temp.linux-armv7l-3.7/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for multidict
  Building wheel for yarl (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpwsi1qkco
       cwd: /tmp/pip-install-rrd10h4t/yarl
  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'
  writing manifest file 'yarl.egg-info/SOURCES.txt'

  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c yarl/_quoting_c.c -o build/temp.linux-armv7l-3.7/yarl/_quoting_c.o
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for yarl
Failed to build multidict yarl
ERROR: Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly

Я не могу найти помощи в Интернете.


person Untriex Programming    schedule 10.11.2020    source источник
comment
Это помогает? stackoverflow.com/questions/64762931/   -  person kr8gz    schedule 11.11.2020
comment
Да спасибо. Я загрузил новейший исходный код Python 3.8.X и скомпилировал его. Он заработал, и бот работает уже 24 часа.   -  person Untriex Programming    schedule 11.11.2020


Ответы (1)


Я загрузил новейший исходный код Python 3.8.x и скомпилировал его. (Я потерял ссылку, но вы можете найти в гугле, как установить python 3.8.6 на raspberry pi). Сейчас он работает.

person Untriex Programming    schedule 11.11.2020