dialogflow-python-client
dialogflow-python-client copied to clipboard
Unable to install numpy on Heroku
Messages from Heroku remote: ! Hello! It looks like you're trying to use scipy on Heroku. remote: ! Unfortunately, at this time, we do not directly support this library. remote: ! There is, however, a buildpack available that makes it possible to use it on Heroku. remote: ! You can learn more here: https://devcenter.heroku.com/articles/python-c-deps remote: ! Sorry for the inconvenience. -- Much Love, Heroku. remote: ! Push rejected, failed to compile Python app.
remote: config = setup_module.configuration(*args)
remote: File "scipy/setup.py", line 12, in configuration
remote: config.add_subpackage('integrate')
remote: File "/app/.heroku/python/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
remote: caller_level = 2)
remote: File "/app/.heroku/python/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
remote: caller_level = caller_level + 1)
remote: File "/app/.heroku/python/lib/python3.6/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
remote: config = setup_module.configuration(*args)
remote: File "scipy/integrate/setup.py", line 12, in configuration
remote: blas_opt = get_info('blas_opt',notfound_action=2)
remote: File "/app/.heroku/python/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 350, in get_info
remote: return cl().get_info(notfound_action)
remote: File "/app/.heroku/python/lib/python3.6/site-packages/numpy/distutils/system_info.py", line 509, in get_info
remote: raise self.notfounderror(self.notfounderror.doc)
remote: numpy.distutils.system_info.BlasNotFoundError:
remote: Blas (http://www.netlib.org/blas/) libraries not found.
remote: Directories to search for the libraries can be specified in the
remote: numpy/distutils/site.cfg file (section [blas]) or by setting
remote: the BLAS environment variable.
remote:
remote: ----------------------------------------
remote: Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-81516mi4/scipy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-sy5tyxb3-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-81516mi4/scipy/
remote:
remote: ! Hello! It looks like you're trying to use scipy on Heroku.
remote: ! Unfortunately, at this time, we do not directly support this library.
remote: ! There is, however, a buildpack available that makes it possible to use it on Heroku.
remote: ! You can learn more here: https://devcenter.heroku.com/articles/python-c-deps
remote: ! Sorry for the inconvenience. -- Much Love, Heroku.
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to.
remote:
! [remote rejected] master -> master (pre-receive hook declined)
This might help - https://help.heroku.com/S48C2M3H/can-i-use-scientific-python-libraries-scipy-scikit-learn-etc-on-heroku
@iDeveloperST have you solve the error ?