-
Couldn't load subscription status.
- Fork 70
Description
During installation of the toltec environment I get the following error:
Requirement already satisfied: wrapt==1.12.1 in ./venv/lib/python3.11/site-packages (from -r requirements.txt (line 28)) (1.12.1)
Installing collected packages: typed-ast, regex, pyelftools, mypy-extensions, mccabe, certifi, appdirs, urllib3, toml, six, pathspec, mypy, MarkupSafe, lazy-object-proxy, isort, idna, click, chardet, websocket-client, requests, python-dateutil, Jinja2, black, astroid, pylint, docker
DEPRECATION: typed-ast is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for typed-ast ... error
...
In file included from ast27/Custom/typed_ast.c:3:
ast27/Custom/../Include/compile.h:5:10: fatal error: code.h: No such file or directory
5 | #include "code.h"
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
The process I used, on Ubuntu 23.04.
git clone https://github.com/toltec-dev/toltec
cd toltec
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt