我一直在尝试将使用Conda环境创建的应用程序部署到Heroku。
我已经使用Conda buildpack创建了Heroku应用程序,因为使用常规python buildpack无法创建它。
我现在遇到以下错误:
PackagesNotFoundError: The following packages are not available from current channels:
remote:
remote: - libffi==3.2.1=h475c297_4
remote: - libedit==3.1.20181209=hb402a30_0
remote: - ncurses==6.1=h0a44026_1
remote: - openssl==1.1.1c=h1de35cc_1
remote: - readline==7.0=h1de35cc_5
remote: - zlib==1.2.11=h1de35cc_3
remote: - python==3.7.3=h359304d_0
remote: - sqlite==3.28.0=ha441bb4_0
remote: - tk==8.6.8=ha441bb4_0
remote: - xz==5.2.4=h1de35cc_4
remote: - c-ares==1.15.0=h1de35cc_1
remote: - numpy==1.16.4=py37hacdab7b_0
remote: - numpy-base==1.16.4=py37h6575580_0
remote: - grpcio==1.16.1=py37h044775b_1
remote: - hdf5==1.10.4=hfa1e0ec_0
remote: - llvm-openmp==4.0.1=hcfea43d_1
remote: - tensorflow-base==1.13.1=mkl_py37h66b1bf0_0
remote: - mkl==2019.4=233
remote: - scikit-learn==0.21.2=py37h27c97d8_0
remote: - scipy==1.2.1=py37h1410ff5_0
remote: - tensorboard==1.13.1=py37haf313ee_0
remote: - tensorflow==1.13.1=mkl_py37h70c3834_0
remote: - h5py==2.9.0=py37h3134771_0
remote: - intel-openmp==2019.4=233
remote: - protobuf==3.8.0=py37h0a44026_0
remote: - mkl-service==2.0.2=py37h1de35cc_0
remote: - libprotobuf==3.8.0=hd9629dc_0
remote: - libcxxabi==4.0.1=hcfea43d_1
remote: - mkl_fft==1.0.12=py37h5e564d8_0
remote: - libcxx==4.0.1=hcfea43d_1
remote: - markupsafe==1.1.1=py37h1de35cc_0
remote: - mkl_random==1.0.2=py37h27c97d8_0
remote: - libgfortran==3.0.1=h93005f0_2
remote:
remote: Current channels:
remote:
remote: - https://repo.anaconda.com/pkgs/main/linux-64
remote: - https://repo.anaconda.com/pkgs/main/noarch
remote: - https://repo.anaconda.com/pkgs/free/linux-64
remote: - https://repo.anaconda.com/pkgs/free/noarch
remote: - https://repo.anaconda.com/pkgs/r/linux-64
remote: - https://repo.anaconda.com/pkgs/r/noarch
remote:
remote: To search for alternate channels that may provide the conda package you're
remote: looking for, navigate to
remote:
remote: https://anaconda.org
remote:
remote: and use the search bar at the top of the page.
remote:
remote:
remote: ! Push rejected, failed to compile Python/Conda app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to blooming-lowlands-16362.
我似乎无法找到在heroku环境中加载更多频道的出路。我真的不明白为什么会这样,因为我可以在计算机上运行该程序,因此很明显,这些软件包是首先安装的。
任何帮助将不胜感激。