ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects HEROKU

Я делаю бота для дискорда на пайтоне, решил залить на хостинг heroku и каждый раз вылезает эта ошибка:

               ERROR: Failed building wheel for numpy
             Failed to build numpy
             ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
             [end of output]
         
         note: This error originates from a subprocess, and is likely not a problem with pip.
       error: subprocess-exited-with-error
       
       × pip subprocess to install build dependencies did not run successfully.
       │ exit code: 1
       ╰─> See above for output.
       
       note: This error originates from a subprocess, and is likely not a problem with pip.
 !     Push rejected, failed to compile Python app.
 !     Push failed

думаю это вам тоже пригодиться:

-----> Determining which buildpack to use for this app
-----> Python app detected
-----> No Python version was specified. Using the buildpack default: python-3.10.5
      To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-3.10.5
-----> Installing pip 22.1.2, setuptools 60.10.0 and wheel 0.37.1
-----> Installing SQLite3
-----> Installing requirements with pip 

Версия numpy:

numpy                  1.22.4

Также я переустонавливал numpy и пайтон. Есть какие-то идеи нащёт этого?


Ответы (0 шт):