I'm experiencing deploy failed

I need advice to debug deploy https://app.netlify.com/sites/machine-learning-journey/deploys/5e8dda69415bb3770931d1c9

Thanks in advance

Hiya, sorry you are having trouble with your build.

This Common Issue contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!

1 Like

Thanks Perry for your swift answer.

1 Like

you are welcome! let us know if you can’t figure it out!

1 Like

Hi again Perry,
I tried several things but I still have the same issue.
5:15:49 AM: Waiting for other deploys from your team to complete
5:15:58 AM: Build ready to start
5:16:00 AM: build-image version: 2dbd444fcdce00cf06325060a8238d5ae3e86774
5:16:00 AM: build-image tag: v3.3.7
5:16:00 AM: buildbot version: 901ee546b8b58e3bf9bdb8b69f0521510bb8ca29
5:16:00 AM: Fetching cached dependencies
5:16:00 AM: Starting to download cache of 254.9KB
5:16:00 AM: Finished downloading cache in 65.56389ms
5:16:00 AM: Starting to extract cache
5:16:00 AM: Failed to fetch cache, continuing with build
5:16:00 AM: Starting to prepare the repo for build
5:16:01 AM: No cached dependencies found. Cloning fresh repo
5:16:01 AM: git clone https://github.com/tzeghnoun/Blog
5:16:02 AM: Preparing Git Reference refs/heads/master
5:16:03 AM: Starting build script
5:16:03 AM: Installing dependencies
5:16:03 AM: Python version set to 3.7
5:16:05 AM: Downloading and installing node v10.20.0…
5:16:05 AM: Downloading https://nodejs.org/dist/v10.20.0/node-v10.20.0-linux-x64.tar.xz
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: #
5:16:05 AM: 1
5:16:05 AM: 0
5:16:05 AM: .
5:16:05 AM: 2
5:16:05 AM: %
5:16:05 AM:
##########################
5:16:05 AM: ############################################## 100.0%
5:16:05 AM: Computing checksum with sha256sum
5:16:06 AM: Checksums matched!
5:16:08 AM: Now using node v10.20.0 (npm v6.14.4)
5:16:08 AM: Attempting ruby version 2.6.2, read from environment
5:16:10 AM: Using ruby version 2.6.2
5:16:10 AM: Using PHP version 5.6
5:16:10 AM: Installing pip dependencies
5:16:10 AM: Started restoring cached pip cache
5:16:10 AM: Finished restoring cached pip cache
5:16:11 AM: Collecting absl-py==0.9.0
5:16:11 AM: Downloading absl-py-0.9.0.tar.gz (104 kB)
5:16:12 AM: Collecting alabaster==0.7.12
5:16:12 AM: Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
5:16:12 AM: Collecting altair==4.0.1
5:16:12 AM: Downloading altair-4.0.1-py3-none-any.whl (708 kB)
5:16:12 AM: ERROR: Could not find a version that satisfies the requirement anaconda-client==1.7.2 (from -r requirements.txt (line 4)) (from versions: 1.1.1, 1.2.2)
5:16:12 AM: ERROR: No matching distribution found for anaconda-client==1.7.2 (from -r requirements.txt (line 4))
5:16:12 AM: Error installing pip dependencies
5:16:12 AM: Error running command: Build script returned non-zero exit code: 1
5:16:12 AM: Failing build: Failed to build site
5:16:12 AM: failed during stage ‘building site’: Build script returned non-zero exit code: 1
5:16:12 AM: Finished processing build request in 12.137914435s

Hi @Tewfik! Any chance you don’t actually use python 3.7 locally? That’s what I’m guessing based on the error you see - using python 3.7 pip install is unable to find a qualifying version of anaconda-client.

You can adjust our python version to the ones shown here:

…though the versions we can use are a bit limited by what we’ve got planned for:

Let me know if that helps, and if not, what you discover by trying to debug locally following the instructions here: https://github.com/netlify/build-image#running-locally