Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我在heroku中部署了一个应用程序,但它显示了以下错误_Python_Machine Learning_Heroku_Deployment - Fatal编程技术网

Python 我在heroku中部署了一个应用程序,但它显示了以下错误

Python 我在heroku中部署了一个应用程序,但它显示了以下错误,python,machine-learning,heroku,deployment,Python,Machine Learning,Heroku,Deployment,错误:命令出错,退出状态为1: 命令:/app/.heroku/python/bin/python/app/.heroku/python/lib/python3.9/site-packages/pip//u vendor/pep517//u in\u process.py为构建车轮准备元数据/tmp/tmp50\u mixzw cwd:/tmp/pip-install-738ql9xu/scipy 完整输出(171行): setup.py:460:UserWarning:Unrecognized

错误:命令出错,退出状态为1: 命令:/app/.heroku/python/bin/python/app/.heroku/python/lib/python3.9/site-packages/pip//u vendor/pep517//u in\u process.py为构建车轮准备元数据/tmp/tmp50\u mixzw cwd:/tmp/pip-install-738ql9xu/scipy 完整输出(171行): setup.py:460:UserWarning:Unrecognized setuptools命令('dist_info--egg base/tmp/pip-modern-metadata-12fjtqc8'),继续生成Cython源并扩展模板 warnings.warn(“无法识别的setuptools命令({}”),正在继续” 从SciPy源目录运行。 lapack_opt_信息: lapack_mkl_信息: 自定义UnixC编译器 在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu'中找不到库mkl_rt] 不可用

       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-4onbfo35/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-4onbfo35/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-4onbfo35/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-4onbfo35/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 258, in run_setup
           super(_BuildMetaLegacyBackend,
         File "/tmp/pip-build-env-4onbfo35/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 583, in <module>
           setup_package()
         File "setup.py", line 579, in setup_package
           setup(**metadata)
         File "/tmp/pip-build-env-4onbfo35/overlay/lib/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup
           config = configuration()
         File "setup.py", line 477, 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/tmp5o_mixzw Check the logs for full command output.
openblas\u lapack\u信息:
自定义UnixC编译器
自定义UnixC编译器
在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu'中找不到openblas库
无法使用的
openblas_clapack_信息:
自定义UnixC编译器
自定义UnixC编译器
在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu'中找不到库openblas、lapack
无法使用的
火焰信息:
自定义UnixC编译器
在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu'中找不到库
无法使用的
atlas_3_10_线程信息:
设置PTATLAS=ATLAS
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库lapack_atlas
自定义UnixC编译器
库tatlas,在/app/.heroku/python/lib中找不到tatlas
自定义UnixC编译器
在/usr/local/lib中找不到库lapack_atlas
自定义UnixC编译器
库tatlas,在/usr/local/lib中找不到tatlas
自定义UnixC编译器
在/usr/lib64中找不到库lapack_atlas
自定义UnixC编译器
库tatlas,在/usr/lib64中找不到tatlas
自定义UnixC编译器
在/usr/lib中找不到库lapack_atlas
自定义UnixC编译器
库tatlas,在/usr/lib中找不到tatlas
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库lapack_atlas
自定义UnixC编译器
库tatlas,在/usr/lib/x86_64-linux-gnu中找不到tatlas
无法使用的
atlas_3_10_信息:
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库lapack_atlas
自定义UnixC编译器
库satlas,在/app/.heroku/python/lib中找不到satlas
自定义UnixC编译器
在/usr/local/lib中找不到库lapack_atlas
自定义UnixC编译器
库satlas,在/usr/local/lib中找不到satlas
自定义UnixC编译器
在/usr/lib64中找不到库lapack_atlas
自定义UnixC编译器
库satlas,在/usr/lib64中找不到satlas
自定义UnixC编译器
在/usr/lib中找不到库lapack_atlas
自定义UnixC编译器
库satla,在/usr/lib中找不到satla
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库lapack_atlas
自定义UnixC编译器
库satlas,在/usr/lib/x86_64-linux-gnu中找不到satlas
无法使用的
atlas_线程_信息:
设置PTATLAS=ATLAS
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库lapack_atlas
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库ptf77blas、ptcblas和atlas
自定义UnixC编译器
在/usr/local/lib中找不到库lapack_atlas
自定义UnixC编译器
在/usr/local/lib中找不到库ptf77blas、ptcblas、atlas
自定义UnixC编译器
在/usr/lib64中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib64中找不到库ptf77blas、ptcblas和atlas
自定义UnixC编译器
在/usr/lib中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib中找不到库ptf77blas、ptcblas和atlas
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库ptf77blas、ptcblas、atlas
无法使用的
atlas_信息:
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库lapack_atlas
自定义UnixC编译器
在/app/.heroku/python/lib中找不到库f77blas、cblas和atlas
自定义UnixC编译器
在/usr/local/lib中找不到库lapack_atlas
自定义UnixC编译器
在/usr/local/lib中找不到f77blas、cblas和atlas库
自定义UnixC编译器
在/usr/lib64中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib64中找不到f77blas、cblas和atlas库
自定义UnixC编译器
在/usr/lib中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib中找不到f77blas、cblas和atlas库
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库lapack_atlas
自定义UnixC编译器
在/usr/lib/x86_64-linux-gnu中找不到库f77blas、cblas和atlas
无法使用的
加速信息:
无法使用的
lapack_信息:
自定义UnixC编译器
在['/app/.heroku/python/lib'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib/x86_64-linux-gnu'中找不到库lapack