Solve The Error “Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort”

Python is one of the versatile programming languages that has been the core of programming for designing web applications and other applications as well as web pages. It is well-known among programmers and developers as they create various programs. Beginners are also learning it as it is quite simple to learn with an easy syntax that is written in English. Anaconda is a Python distribution used for scientific computing. It is an open-source package. when working with anaconda, you may have gotten the error “Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort”.

Errors are part of coding, whenever you work on different projects, you may experience an error, which is normal. So, you don’t need to panic. The only thing you need to do is to find the relevant information to crack the code. As you are here at Tutopal to resolve the error, we provide you with the best possible solutions. But, let’s start digging into how the error occurs

How the error pops up

You encounter the error when you try to use Anaconda without the install command of Conda working. This is what you get in return

Collecting package metadata (current_repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: \

Found conflicts! Looking for incompatible packages.

This can take several minutes.  Press CTRL-C to abort.

Solutions To Fix the Error “Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort”

We have a few amazing solutions to help you remove the error message.

Solution 1 – Using env

One of the effective solutions that you need to use to solve the error is to use env. To use this, you have to first create an eve, then activate it and install it in the end. It helps you resolve the error.

To create an env, follow the command

conda create --name myenv

Active it using the below command

conda activate myenv

Solution 2 – Set the channel_priority to false

Another simplest way to fix the error is to set the channel_priority to false. To set it up, you should use the below command

conda config --set channel_priority false

Solution 3 – Downgrade conda

Sometimes the version you are using is not compatible with the way you want it to work. A quick fix is to downgrade it. There is nothing wrong with downgrading if you can’t use particular functions or receive error messages. In order to downgrade conda, use the following command

conda config --set allow_conda_downgrades true

Once done, use the below one

conda install conda=4.6.14

It eliminates the error message that was popping up.

Conclusion

We have discussed the solutions to handle the error warning “Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort”. It is on you to choose the solution that fits the requirement of your project.

I hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *