Я пытаюсь визуализировать диаграмму базы данных в django.
в Docker файле. У меня есть:
RUN apt-get install -y python3 -dev graphviz libgraphviz -dev RUN apt-get install -y python -pygraphviz pkg-config
и в файле requirements.txt у меня есть:
django, psycopg2, djangorestframework, PyJWT, gunicorn, каналы , django -extensions, graphviz, cGraph, pygraphviz
, но я получаю эту ошибку:
Building wheel for pygraphviz (setup.py): started
Building wheel for pygraphviz (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = ...
----------------------------------------
ERROR: Failed building wheel for pygraphviz
Running setup.py clean for pygraphviz
Successfully built cGraph
Failed to build pygraphviz ... ERROR: Service 'web' failed to build: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
есть идеи об этой ошибке?