textual-web icon indicating copy to clipboard operation
textual-web copied to clipboard

`textual-web` can't be installed while depending on Python 3.12 (macOS)

Open davep opened this issue 8 months ago • 5 comments

It appears that textual-web can't currently be installed when Python 3.12 will be the environment's Python (at least on macOS, Python installed via pyenv).

Using pipx, for example, I get the following error:

Fatal error from pip prevented installation. Full pip output in file:
    /Users/davep/.local/pipx/logs/cmd_2023-11-06_08.18.46_pip_errors.log

pip failed to build packages:
    aiohttp
    uvloop

Some possibly relevant errors from pip install:
    fatal error: too many errors emitted, stopping now [-ferror-limit=]

Error installing textual-web.

An example log:

cmd_2023-11-06_08.12.43_pip_errors.log

If I force Python 3.11:

$ pyenv global 3.11
$ pipx install --force --python (which python) textual-web

(using fish above, use appropriate substitution syntax for your shell of choice) it installs just fine.

davep avatar Nov 06 '23 08:11 davep