Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

failed to compile Python/Conda app. #30

@moghbaie

Description

@moghbaie

I'm beginner with flask and trying to deploy a flask app to heroku using conda-buildpack and I'm getting the following error. Do you have any idea how I could fix it?

Mehrnooshs-MacBook-Pro-8:challenge mehrnoosh$ git push heroku master
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 280 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python/Conda app detected
remote: -----> Preparing Python/Miniconda Environment
remote: PREFIX=/app/.heroku/miniconda
remote: installing: _cache-0.0-py27_x0 ...
remote: installing: python-2.7.11-0 ...
remote: installing: conda-env-2.4.5-py27_0 ...
remote: installing: openssl-1.0.2g-0 ...
remote: installing: pycosat-0.6.1-py27_0 ...
remote: installing: pyyaml-3.11-py27_1 ...
remote: installing: readline-6.2-2 ...
remote: installing: requests-2.9.1-py27_0 ...
remote: installing: sqlite-3.9.2-0 ...
remote: installing: tk-8.5.18-0 ...
remote: installing: yaml-0.1.6-0 ...
remote: installing: zlib-1.2.8-0 ...
remote: installing: conda-4.0.5-py27_0 ...
remote: installing: pycrypto-2.6.1-py27_0 ...
remote: installing: pip-8.1.1-py27_1 ...
remote: installing: wheel-0.29.0-py27_0 ...
remote: installing: setuptools-20.3-py27_0 ...
remote: Python 2.7.11 :: Continuum Analytics, Inc.
remote: creating default environment...
remote: installation finished.
remote: Fetching package metadata: ....
remote: Solving package specifications: .........
remote:
remote: Package plan for installation in environment /app/.heroku/miniconda:
remote:
remote: The following packages will be downloaded:
remote:
remote: package | build
remote: ---------------------------|-----------------
remote: conda-env-2.6.0 | 0 502 B
remote: sqlite-3.13.0 | 0 4.0 MB
remote: python-2.7.12 | 1 12.1 MB
remote: enum34-1.1.6 | py27_0 53 KB
remote: ruamel_yaml-0.11.14 | py27_0 352 KB
remote: conda-4.2.9 | py27_0 360 KB
remote: pip-8.1.2 | py27_0 1.5 MB
remote: ------------------------------------------------------------
remote: Total: 18.3 MB
remote:
remote: The following NEW packages will be INSTALLED:
remote:
remote: enum34: 1.1.6-py27_0
remote: ruamel_yaml: 0.11.14-py27_0
remote:
remote: The following packages will be UPDATED:
remote:
remote: conda: 4.0.5-py27_0 --> 4.2.9-py27_0
remote: conda-env: 2.4.5-py27_0 --> 2.6.0-0
remote: pip: 8.1.1-py27_1 --> 8.1.2-py27_0
remote: python: 2.7.11-0 --> 2.7.12-1
remote: sqlite: 3.9.2-0 --> 3.13.0-0
remote:
remote: Fetching packages ...
remote: conda-env-2.6. 100% |###############################| Time: 0:00:00 621.29 kB/s
remote: sqlite-3.13.0- 100% |###############################| Time: 0:00:00 38.11 MB/s
remote: python-2.7.12- 100% |###############################| Time: 0:00:00 40.53 MB/s
remote: enum34-1.1.6-p 100% |###############################| Time: 0:00:00 22.17 MB/s
remote: ruamel_yaml-0. 100% |###############################| Time: 0:00:00 26.14 MB/s
remote: conda-4.2.9-py 100% |###############################| Time: 0:00:00 10.70 MB/s
remote: pip-8.1.2-py27 100% |###############################| Time: 0:00:00 31.65 MB/s
remote: Extracting packages ...
remote: [ COMPLETE ]|##################################################| 100%
remote: Unlinking packages ...
remote: [ COMPLETE ]|##################################################| 100%
remote: Linking packages ...
remote: [ COMPLETE ]|##################################################| 100%
remote: added pinned file in /app/.heroku/miniconda/conda-meta/pinned
remote: Fetching package metadata .......
remote: Solving package specifications: ..........
remote:
remote: Package plan for installation in environment /app/.heroku/miniconda:
remote:
remote: The following packages will be downloaded:
remote:
remote: package | build
remote: ---------------------------|-----------------
remote: nomkl-1.0 | 0 402 B
remote:
remote: The following NEW packages will be INSTALLED:
remote:
remote: nomkl: 1.0-0
remote:
remote: Proceed ([y]/n)?
remote: Fetching packages ...
remote: nomkl-1.0-0.ta 100% |###############################| Time: 0:00:00 496.35 kB/s
remote: Extracting packages ...
remote: [ COMPLETE ]|##################################################| 100%
remote: Linking packages ...
remote: [ COMPLETE ]|##################################################| 100%
remote: -----> Installing dependencies using Conda
remote: Fetching package metadata .......
remote: .Solving package specifications: .
remote: PackageNotFoundError: Package not found: '' Packages missing in current linux-64 channels:
remote: - appscript 1.0.1 py27_0
remote: - launcher 1.0.0 3
remote: - libxslt 1.1.28 2
remote: - pyaudio 0.2.7 py27_0
remote: - python.app 1.2 py27_4
remote: - xlwings 0.3.5 py27_0
remote: - appnope 0.1.0 py27_0
remote: - netcdf4 1.2.4 np111py27_1
remote: - notebook 4.1.0 py27_2
remote:
remote: Close matches found; did you mean one of these?
remote:
remote: pyaudio: portaudio, pycairo
remote: python.app: python-snappy, python-ldap, python
remote:
remote: You can search for packages on anaconda.org with
remote:
remote: anaconda search -t conda xlwings
remote:
remote: (and similarly for the other packages)
remote:
remote: You may need to install the anaconda-client command line client with
remote:
remote: conda install anaconda-client
remote:
remote: Note that you have pinned specs in /app/.heroku/miniconda/conda-meta/pinned:
remote:
remote: ['nomkl']
remote:
remote:
remote: ! Push rejected, failed to compile Python/Conda app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to aqueous-lake-38159.
remote:
To https://git.heroku.com/aqueous-lake-38159.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/aqueous-lake-38159.git'
conda-requirements.txt
requirements.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions