Dependencies building error during first app deployment

I am putting up my first app that is a domain-specific chatbot riding on ChatGPT. It worked in the local host website. When I try to deploy the app online, I get this error message:

"Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘error’
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.

Traceback (most recent call last):

        File "/home/appuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>

          main()

        File "/home/appuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main

          json_out['return_val'] = hook(**hook_input['kwargs'])

        File "/home/appuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel

          return hook(metadata_directory, config_settings)

        File "/tmp/pip-build-env-t_ltbjwa/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel

          self.run_setup()
        File "/tmp/pip-build-env-t_ltbjwa/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 484, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/tmp/pip-build-env-t_ltbjwa/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 540, in <module>
        File "<string>", line 536, in setup_package
        File "/tmp/pip-build-env-t_ltbjwa/overlay/lib/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup
  [2023-04-20 14:35:48.342263]         config = configuration()
        File "<string>", line 435, in configuration
      numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
      [end of output]"


**Can this be addressed by a custom dockerfile to install the missing lapack/blas resources ? What is the problem here? Thanks so much...**

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.