tornado icon indicating copy to clipboard operation
tornado copied to clipboard

Cant build wheel for tornado on armbian os (qrange pi lite)

Open tayanov opened this issue 3 years ago • 3 comments

Cant build wheel for tornado on armbian os (qrange pi lite)

Building wheels for collected packages: tornado Building wheel for tornado (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /home/pi/moonraker-telegram-bot-env/bin/python /home/pi/space/tmpue14y6ry_in_process.py build_wheel /home/pi/space/tmpuhqjd17v cwd: /home/pi/space/pip-install-egm_laqc/tornado_0938982fb6974020aa065a61ea20f9af

if i try use --no-use-pep-517, i have error

Collecting tornado>=6.1 Downloading tornado-6.2.tar.gz (504 kB) |████████████████████████████████| 504 kB 6.3 MB/s ERROR: Disabling PEP 517 processing is invalid: project specifies a build backend of setuptools.build_meta in pyproject.toml

How i can Installing build dependencies??

ps pi@orangepilite:~$ dpkg --print-architecture armhf

tayanov avatar Sep 07 '22 13:09 tayanov

Tornado's only build dependencies are a C compiler and the python header files. You usually get these by installing a package like python3-dev with apt on debian-family distributions.

You can also disable the C components by setting the environment variable TORNADO_EXTENSION=0 during installation. (This will slow down websockets but won't affect anything else)

Finally, I'm not sure that build dependencies or the C extension are the problem here, since you're not getting any kind of error message. Try passing the --verbose option to pip to see if that gives you more information.

bdarnell avatar Sep 08 '22 21:09 bdarnell

You can also disable the C components by setting the environment variable TORNADO_EXTENSION=0 during installation. (This will slow down websockets but won't affect anything else)

can you help me were i can make it and how?

i try export TORNADO_EXTENSION=0 but ...

https://pastebin.com/fcqb7TU9

tayanov avatar Sep 09 '22 09:09 tayanov

export TORNADO_EXTENSION=0 is right, but it looks like that's not the problem. AttributeError: install_layout is. Googling for that suggests either upgrading your setuptools package (pip install -U setuptools) or setting SETUPTOOLS_USE_DISTUTILS=stdlib (see https://groups.google.com/g/linux.debian.bugs.dist/c/PHXO3LnqwTQ)

bdarnell avatar Sep 09 '22 20:09 bdarnell

Closing since this doesn't appear to be tornado-specific.

bdarnell avatar Sep 27 '22 01:09 bdarnell