error on my deploy,

#10 39.31 ERROR: Failed building wheel for twisted-iocpsupport #10 39.31 Failed to build twisted-iocpsupport #10 39.31 ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects #10 39.32 WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. #10 39.32 You should consider upgrading via the '/opt/venv/bin/python -m pip install --upgrade pip' command.
21 Replies
Percy
Percy12mo ago
Project ID: 394bec7a-e8a0-467b-a7ed-8f4d83f42b81
Juan Gouveia
Juan Gouveia12mo ago
394bec7a-e8a0-467b-a7ed-8f4d83f42b81
Brody
Brody12mo ago
please provide full build logs
Juan Gouveia
Juan Gouveia12mo ago
#10 35.59 error: subprocess-exited-with-error #10 35.59 #10 35.59 × Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully. #10 35.59 │ exit code: 1 #10 35.59 ╰─> [13 lines of output] #10 35.59 running bdist_wheel #10 35.59 running build #10 35.59 running build_ext #10 35.59 building 'twisted_iocpsupport.iocpsupport' extension #10 35.59 creating build  #10 35.59 creating build/temp.linux-x86_64-cpython-38 #10 35.59 creating build/temp.linux-x86_64-cpython-38/twisted_iocpsupport #10 35.59 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/vamwsqfpvgfwnc7ksa8k4aa52my5r1bq-libxcrypt-4.4.33/include -fPIC -Itwisted_iocpsupport -I/opt/venv/include -I/nix/store/9493ngfjwisjm5f5s5ld5m34rdy431ic-python3-3.8.16/include/python3.8 -c twisted_iocpsupport/iocpsupport.c -o build/temp.linux-x86_64-cpython-38/twisted_iocpsupport/iocpsupport.o #10 35.59 twisted_iocpsupport/iocpsupport.c:773:10: fatal error: io.h: No such file or directory #10 35.59 773 | #include "io.h" #10 35.59 | ^~ #10 35.59 compilation terminated. #10 35.59 error: command '/root/.nix-profile/bin/gcc' failed with exit code 1 #10 35.59 [end of output] #10 35.59 #10 35.59 note: This error originates from a subprocess, and is likely not a problem with pip. #10 35.59 ERROR: Failed building wheel for twisted-iocpsupport #10 35.59 Failed to build twisted-iocpsupport #10 35.59 ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects #10 35.60 WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. #10 35.60 You should consider upgrading via the '/opt/venv/bin/python -m pip install --upgrade pip' command.
Brody
Brody12mo ago
please provide full build logs in a txt file
Brody
Brody12mo ago
keyword: full
Juan Gouveia
Juan Gouveia12mo ago
sorry i copy wrong
Juan Gouveia
Juan Gouveia12mo ago
now i copy all the build.
Brody
Brody12mo ago
send you pyproject.toml please
Juan Gouveia
Juan Gouveia12mo ago
in the root of my project. I did not set up a pyproject.toml. I just use a Procfile for the deploy. but don't configure the pyproject.toml
Brody
Brody12mo ago
so the file doesnt exist?
Juan Gouveia
Juan Gouveia12mo ago
yes. the file doesnt exist
Brody
Brody12mo ago
send your requirements.txt file please
Brody
Brody12mo ago
are you using all of those packages?
Juan Gouveia
Juan Gouveia12mo ago
yes There is a solution?
Brody
Brody12mo ago
try adding wheel to the beginning of your requirements.txt file
Juan Gouveia
Juan Gouveia12mo ago
nothing happened.
Brody
Brody12mo ago
wdym nothing
Juan Gouveia
Juan Gouveia12mo ago
the error. It remains the same.