Nuitka: Ошибка ассемблера: отсутствует выражение - `ldr r3, ' - PullRequest
0 голосов
/ 27 мая 2020

Понятия не имею, как мне избежать ошибки, которую я получил при компиляции Nuitka, как показано ниже.

версия

nuitka --version
0.6.1.1
Python: 2.7.16 (default, Oct 10 2019, 22:02:15) 
Executable: /usr/bin/python2
OS: Linux
Arch: armv7l
uname -a
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

код

Для очистки красивым супом выполните следующие действия.

import requests
from bs4 import BeautifulSoup

res = requests.get('https://golang.org/dl/')
soup = BeautifulSoup(res.text, 'html.parser')

version = soup.find('div', class_='toggleVisible')['id']

print(version)

Этот код подтвержден.

Компиляция Nuitka

python -m nuitka --follow-imports go_latest_version.py
Nuitka:WARNING:Use '--plugin-enable=pylint-warnings' for: Understand PyLint/PyDev annotations for warnings.
Nuitka:WARNING:Unresolved '__import__' call at '/usr/lib/python2.7/dist-packages/requests/packages.py:7' may require use of '--include-plugin-directory' or '--include-plugin-files'.
{standard input}: Assembler messages:
{standard input}:186031: Warning: end of file not at end of a line; newline inserted
{standard input}:186032: Error: missing expression -- `ldr r3,'
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
scons: *** [go_latest_version.build/module.cryptography.hazmat.backends.openssl.backend.o] Error 1

Спасибо за ваше предложение.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...