Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/286.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/6.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
在Heroku中设置Python Conda环境 背景_Python_Heroku_Pip_Anaconda_Conda - Fatal编程技术网

在Heroku中设置Python Conda环境 背景

在Heroku中设置Python Conda环境 背景,python,heroku,pip,anaconda,conda,Python,Heroku,Pip,Anaconda,Conda,我在我的项目目录中创建了一个heroku实例,使用了conda环境的指南: 错误 你知道是什么导致了这个错误吗 附加要求 在部署python应用程序之后,我仍然需要添加一个conda通道,以便安装一个特定的包。我该怎么做 有些软件包要求在conda上没有兼容的版本,只有PyPI(pip),在heroku中使用conda环境会丧失使用pip的能力吗 更新:我想我已经了解了我的环境的附加要求和内容。yml: name: openmc-dash-interface channels: -

我在我的项目目录中创建了一个heroku实例,使用了conda环境的指南:

错误 你知道是什么导致了这个错误吗

附加要求
  • 在部署python应用程序之后,我仍然需要添加一个conda通道,以便安装一个特定的包。我该怎么做
  • 有些软件包要求在conda上没有兼容的版本,只有PyPI(
    pip
    ),在heroku中使用conda环境会丧失使用pip的能力吗
更新:我想我已经了解了我的
环境的附加要求和内容。yml

name: openmc-dash-interface
channels:
    - conda-forge
dependencies:
- python=3.6
- anaconda
- openmc
- pip
- pip:
  - dash
  - plotly
  - dash-core-components
  - dash-html-components
  - dash-daq
  - numpy
  - pandas
  - gunicorn
但在构建时仍然会出错


提前感谢您提供的任何/所有帮助

此构建包似乎不支持Python3:

但是,其他第三方构建包似乎支持Python3:

可能:

根据这里的帖子:
environment.yml
同时支持pip和conda软件包-仍然不确定如何指定所需的pkg管理器,但请回答上述问题:
name: openmc-dash-interface
channels:
    - conda-forge
dependencies:
- python=3.6
- anaconda
- openmc
- pip
- pip:
  - dash
  - plotly
  - dash-core-components
  - dash-html-components
  - dash-daq
  - numpy
  - pandas
  - gunicorn