I have problem when I uploading my website in Heroku give me this error

50 Views Asked by At
error: subprocess-exited-with-error
         
         × Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully.
         │ exit code: 1
         ╰─> [13 lines of output]
             running bdist_wheel
             running build
             running build_ext
             building 'twisted_iocpsupport.iocpsupport' extension
             creating build
             creating build/temp.linux-x86_64-cpython-311
             creating build/temp.linux-x86_64-cpython-311/twisted_iocpsupport
             gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Itwisted_iocpsupport -I/app/.heroku/python/include/python3.11 -c twisted_iocpsupport/iocpsupport.c -o build/temp.linux-x86_64-cpython-311/twisted_iocpsupport/iocpsupport.o
             twisted_iocpsupport/iocpsupport.c:1102:10: fatal error: io.h: No such file or directory
              1102 | #include "io.h"
                   |          ^~~~~~
             compilation terminated.
             error: command '/usr/bin/gcc' failed with exit code 1
             [end of output]
         
         note: This error originates from a subprocess, and is likely not a problem with pip.
         ERROR: Failed building wheel for twisted-iocpsupport
       Successfully built autobahn paypalrestsdk psycopg2 pycountry
       Failed to build twisted-iocpsupport
       ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects
 !     Push rejected, failed to compile Python app.
 !     Push failed

I change Daphne package but still not working

0

There are 0 best solutions below