当前位置: 首页 > 知识库问答 >
问题:

在heroku建造一个discord bot discord.py和错误

巴帅
2023-03-14

错误-大错误,所以准备车轮元数据:以状态“错误”结束错误:命令错误退出,退出状态1:命令:/app/.heroku/python/bin/python/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel/tmp/tmpscn7h7yu cwd://tmp/pip-install-_yurnicz/scipy完整输出(171行):setup.py:418:用户警告:无法识别的),继续生成Cython源和展开模板warnings.warn(“无法识别的setuptools命令(”{}“),继续”从scipy源目录运行。lapack_opt_info:lapack_mkl_info:customize UnixCCompiler库mkl_rt未在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu']中找到“

       openblas_lapack_info:
       customize UnixCCompiler
       customize UnixCCompiler
         libraries openblas not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
         NOT AVAILABLE
       
       openblas_clapack_info:
       customize UnixCCompiler
       customize UnixCCompiler
         libraries openblas,lapack not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
         NOT AVAILABLE
       
       flame_info:
       customize UnixCCompiler
         libraries flame not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
         NOT AVAILABLE
       
       atlas_3_10_threads_info:
       Setting PTATLAS=ATLAS
       customize UnixCCompiler
         libraries lapack_atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries tatlas,tatlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries tatlas,tatlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries tatlas,tatlas not found in /usr/lib64
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib
       customize UnixCCompiler
         libraries tatlas,tatlas not found in /usr/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
       customize UnixCCompiler
         libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
       <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
         NOT AVAILABLE
       
       atlas_3_10_info:
       customize UnixCCompiler
         libraries lapack_atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries satlas,satlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries satlas,satlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries satlas,satlas not found in /usr/lib64
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib
       customize UnixCCompiler
         libraries satlas,satlas not found in /usr/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
       customize UnixCCompiler
         libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
       <class 'numpy.distutils.system_info.atlas_3_10_info'>
         NOT AVAILABLE
       
       atlas_threads_info:
       Setting PTATLAS=ATLAS
       customize UnixCCompiler
         libraries lapack_atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries ptf77blas,ptcblas,atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib
       customize UnixCCompiler
         libraries ptf77blas,ptcblas,atlas not found in /usr/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
       customize UnixCCompiler
         libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
       <class 'numpy.distutils.system_info.atlas_threads_info'>
         NOT AVAILABLE
       
       atlas_info:
       customize UnixCCompiler
         libraries lapack_atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries f77blas,cblas,atlas not found in /app/.heroku/python/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries f77blas,cblas,atlas not found in /usr/local/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries f77blas,cblas,atlas not found in /usr/lib64
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib
       customize UnixCCompiler
         libraries f77blas,cblas,atlas not found in /usr/lib
       customize UnixCCompiler
         libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
       customize UnixCCompiler
         libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
       <class 'numpy.distutils.system_info.atlas_info'>
         NOT AVAILABLE
       
       accelerate_info:
         NOT AVAILABLE
       
       lapack_info:
       customize UnixCCompiler
         libraries lapack not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
         NOT AVAILABLE
       
       /tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
           Lapack (http://www.netlib.org/lapack/) libraries not found.
           Directories to search for the libraries can be specified in the
           numpy/distutils/site.cfg file (section [lapack]) or by setting
           the LAPACK environment variable.
         if getattr(self, '_calc_info_{}'.format(lapack))():
       lapack_src_info:
         NOT AVAILABLE
       
       /tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
           Lapack (http://www.netlib.org/lapack/) sources not found.
           Directories to search for the sources can be specified in the
           numpy/distutils/site.cfg file (section [lapack_src]) or by setting
           the LAPACK_SRC environment variable.
         if getattr(self, '_calc_info_{}'.format(lapack))():
         NOT AVAILABLE
       
       Traceback (most recent call last):
         File "/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
           main()
         File "/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
           json_out['return_val'] = hook(**hook_input['kwargs'])
         File "/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
           return hook(metadata_directory, config_settings)
         File "/tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 166, in prepare_metadata_for_build_wheel
           self.run_setup()
         File "/tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 258, in run_setup
           super(_BuildMetaLegacyBackend,
         File "/tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 150, in run_setup
           exec(compile(code, __file__, 'exec'), locals())
         File "setup.py", line 540, in <module>
           setup_package()
         File "setup.py", line 536, in setup_package
           setup(**metadata)
         File "/tmp/pip-build-env-tg16m3qb/overlay/lib/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup
           config = configuration()
         File "setup.py", line 435, in configuration
           raise NotFoundError(msg)
       numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
       ----------------------------------------
   ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpscn7h7yu Check the logs for full command output.

!推送拒绝,编译Python应用程序失败。!推送失败

共有1个答案

归明诚
2023-03-14

您选择Python作为构建包了吗?设置>构建包

 类似资料:
  • 问题内容: 我的应用程序处于测试阶段,并且我一直在对涉及新模型的功能进行有限的测试。经过大量测试后,我不得不进行结构更改,使旧数据无法正常运行。 我需要做的就是删除并重新创建一个表。我知道我可以在迁移中做到这一点,但这似乎是一个hack。在本地开发人员副本中,我只会使用,但在beta应用程序中,我不想丢失除此表以外的任何表中的数据。 这是指示生产应用程序删除并重新创建单个表的简单方法。就我而言,我

  • 我正在使用AWS-CDK为应用程序构建基础设施。 我有一个构建多个S3存储桶的构造和另一个创建lambda函数从这些存储桶获取数据的构造。 为了能够给我的lambda权限从桶中获取数据,我需要桶ARN。 有没有一种方法,我可以从生产桶的结构导出桶arn,并将其导入lambda结构?

  • 我想在heroku上有一个tilestream,我遵循了教程,我做了完全相同的事情,并不断得到一个构建/编译错误。 刚刚添加了2个文件和一个目录: Procfile: 包裹json: 空的/平铺方向。 当通过git推送到heroku时,我得到以下错误: 当我去网站时,我得到了错误(检查这里) 我还检查了日志: 以及在heroku上运行的进程: 对于这个例子,我没有将地图上传到./ware目录,但是

  • 我正在package.json中使用这段代码,我想部署到heroku应用程序中 “脚本”:{“构建”:“cd应用程序 我也尝试过: "start":"next start-p$PORT",我正在使用这个样板:https://github.com/MustansirZia/next-express-bootstrap-boilerplate 目前我得到这个。。。 test.herokuapp。com

  • 我试过了 它产生了同样的错误,只是它再次开始下载文件,并且需要更长的时间才能到达错误。 原创内容 现在怎么办?

  • 我试图部署以下web应用程序与heroku: https://github.com/darego1990/web1 虽然我收到以下生成日志错误,但我不确定原因: NPM ERR!Linux4.4.0-1031-aws npm ERR!argv"节点"/tmp/build_f85d5b0987590f76e56a2945b6c4ccc1/. heroku/节点/bin/npm"运行"构建"npm E