conda-buildpack | Buildpack for Conda | Code Editor library
kandi X-RAY | conda-buildpack Summary
kandi X-RAY | conda-buildpack Summary
This is a [Heroku Buildpack] for [Conda] the Python distribution for scientific computing by Continuum Analytics. This buildpack enables the installation of binary packages through the open source [conda] application. Conda is recognized as being core to Continuum’s Anaconda Scientific Python distro but it’s also at the heart of the lighter weight [Miniconda] distro which we use here to install only the binary packages we need for our apps deployed on Heroku. To control what binary packages are installed by conda, supply a conda-requirements.txt file (which can be created by capturing the output of conda list -e for your working conda environment). Like when using the standard buildpack for python from Heroku, you can also still supply a requirements.txt file for [pip] to process. In this way, you can install binary packages via conda for everything you can and still use pip for anything you can’t. Usage.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of conda-buildpack
conda-buildpack Key Features
conda-buildpack Examples and Code Snippets
Community Discussions
Trending Discussions on conda-buildpack
QUESTION
I use Django 1.11.20 and Python 2.7. My app is deployed with Heroku.
As I need NumPy / SciPy and Heroku has a slug size limited to 500Mb, I am using Anaconda through the three following Heroku buildpacks:
https://github.com/kennethreitz/conda-buildpack
https://github.com/cyberdelia/heroku-geo-buildpack.git
heroku/python
The site has been working perfectly for the last year and hadn't been updated it for a few months.
I made some minor changes to the site recently and I got the following error when deploying it to Heroku.
I don't understand what is the issue exactly.
Any clue?
...ANSWER
Answered 2019-Aug-18 at 16:14You're using pip
version 19.1.1, which is fairly recent.
I don't know what version you were using before, but the --allow-all-external
option was deprecated in pip
version 8.0 (released in January, 2016) and removed in pip
10.0 (released in early 2018).
Either update your application so it doesn't need --allow-all-external
(the better option) or, if you absolutely must, use a pip
older than 8.0. I strongly advise against this last option considering how long ago 8.0 was released.
QUESTION
I created a heroku instance in my project directory using the guide here for a conda environment: conda-buildpack
Error ...ANSWER
Answered 2019-Mar-10 at 18:01It appears Python3 is not supported with this buildpack: https://github.com/heroku-python/conda-buildpack/issues/14
However, other third-party buildpacks exist that appear to support Python3: https://elements.heroku.com/buildpacks/trib3/conda-buildpack https://elements.heroku.com/buildpacks/teamupstart/conda-buildpack
QUESTION
When I run git push heroku master
to deploy my app to Heroku I keep getting errors
Heroku Push rejected, failed to compile Python app. Could not find a version that satisfies the requirement
The problem was that the requirements.txt
file I made with
ANSWER
Answered 2019-Jun-05 at 18:29Heroku doesn't care if you're using virtualenv
or conda
to manage environments. Using one or the other is mostly irrelevant to the deployment process.
Don't bother with the Conda Environment Buildpack instructions since those are for deploying a remote conda
environment which is not what you are trying to do. You, my friend, are trying to deploy a remote your_app environment.
conda
:
Create a new folder for your project:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install conda-buildpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page