Although conda’s solver is designed to install packages and their dependencies without creating version conflicts, it can still happen. This tutorial will go over possible solver conflict scenarios and ways to fix them. For more information on package dependencies and the conda solver, see What is a dependency? and What is the solver?
Imagine you have an environment that you know will require Python 3.10, but you also want to install package-a into that environment. You decide to specify version 2.0 of package-a.The only problem is, package-a 2.0 requires Python 3.11 or later (>=3.11) and doesn’t have any backwards compatibility built into its version requirements.If you try to install python and package-a into an environment with these exact requirements:
LibMambaUnsatisfiableError: Encountered problems while solving: - package package-a-2.0-py311 requires python >=3.11, but none of the providers can be installed
This error tells you that package-a requires python greater than or equal to version 3.11, but something is blocking that version from being installed.
The safest approach is to create separate conda environments for conflicting packages. Based on the example above, ask yourself “If I need Python 3.10 in this environment, can I put package-a in a different environment?”
# Create an environment for Python 3.10conda create --name python-env python=3.10# Create a separate environment for package-aconda create --name second-env package-a=2.0
Dependency resolution failures don’t always happen because of version incompatibilities. Sometimes you might be working with repositories where packages have been filtered out; for example, if you are using conda with a local package where packages have been filtered out for security or licensing reasons.In cases like these, sometimes there is no way to install a set of packages together with specific version constraints, even when using separate environments.
If specifying (or pinning) a version for package-a along with python is leading to solver errors, try only giving conda the name package-a and no version number. This will give conda’s solver more options to evaluate.
# Create an environment with only Python pinnedconda create --name python-env python=3.10 package-a
Since you haven’t specified a version number for package-a, conda will attempt to find the latest possible version that works with Python 3.10.
Because packages often depend on several other packages, which in turn often depend on other packages, another conflict type you will likely see is a transitive dependency conflict. Transitive dependencies occur when one package depends on another, which in turn depends on a third package. For example:In the above scenario, Package A depends on Package B and Package B depends on Package C. This makes Package C a transitive dependency of Package A.Let’s say you want to install Package A and another package, Package D, into the same environment. Package D requires version 3.5 of Package C. For the version of Package A that you want to install, its dependency, Package B, requires version 4.0 or higher of Package C. This is an example of a transitive dependency conflict. Package A doesn’t conflict with Package D directly, but one of its dependencies does.Try one of the strategies suggested for solving the direct dependency conflict. Transitive dependency conflicts can be more complex to solve because the conflicting package or packages might not be directly connected to the package you’re trying to install.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anaconda","description":"Guides, tutorials, and reference material for Anaconda's Python, data science, and AI tools","colors":{"primary":"#1d6cf7","light":"#1d6cf7","dark":"#96f778"},"logo":{"light":"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/light.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=5996719b8530aaf065dc1ee1f39b2e67","dark":"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/dark.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=db482b1eac6af589d234160a76de3400","href":"https://www.anaconda.com/docs/main"},"favicon":"https://mintcdn.com/anaconda-29683c67/p8JNFuYYvTL8gfpM/favicon.png?fit=max\u0026auto=format\u0026n=p8JNFuYYvTL8gfpM\u0026q=85\u0026s=51a585758330bbe8f1ea032113854252","api":{"playground":{"display":"simple"}},"background":{"color":{"light":"#f4f5f8","dark":"#10121a"}},"navbar":{},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/anacondainc","github":"https://github.com/ContinuumIO","youtube":"https://www.youtube.com/c/ContinuumIo"},"links":[{"header":"Company","items":[{"label":"Anaconda Newsletter","href":"https://www.anaconda.com/newsletter"}]}]},"seo":{"metatags":{"canonical":"https://www.anaconda.com/docs"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"ga4":{"measurementId":"G-VQTY6YKM6J"},"heap":{"appId":"758475466"}},"contextual":{"options":["claude","chatgpt","perplexity","cursor","vscode","add-mcp","copy"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anaconda-29683c67","hasAudioNarration":false,"actualSubdomain":"anaconda-29683c67","customDomains":["anaconda.com"],"gitSource":{"type":"github","owner":"anaconda","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae386e116c06b390b420736","collectionId":"6121a83c-0b2c-466c-b40a-cb285c1fb84f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae386e116c06b390b420736"},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":true,"emailDisclaimer":"Your email will only be used to follow up on this feedback."}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae386e116c06b390b420736","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Data Science \u0026 AI Workbench","count":240},{"language":"default","tag":"Anaconda Platform","count":150},{"language":"default","tag":"Package Security Manager","count":128},{"language":"default","tag":"Anaconda CLI","count":112},{"language":"default","tag":"Guides","count":105},{"language":"default","tag":"Anaconda CLI \u0026 MCP","count":104},{"language":"default","tag":"Plugins","count":93},{"language":"default","tag":"Commands","count":91},{"language":"default","tag":"Anaconda Desktop","count":86},{"language":"default","tag":"Platform Guides","count":86}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"support@anaconda.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","href":"/docs/_mintlify/custom/anaconda-29683c67/8e7e337189353d6a/custom.css"}],"page":{"pagePath":"getting-started/working-with-conda/packages/solver-errors","slug":"/getting-started/working-with-conda/packages/solver-errors","pageMetadata":{"title":"Managing solver errors","keywords":["conda","packages","conflicts","dependencies","solver","errors","resolution","compatibility","environment"],"searchDescription":"Guide to resolving conda package dependency conflicts and solver errors.","description":null,"href":"/getting-started/working-with-conda/packages/solver-errors"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Mermaid,Note,Tooltip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Although conda’s solver is designed to install packages and their dependencies without creating version conflicts, it can still happen. This tutorial will go over possible solver conflict scenarios and ways to fix them. For more information on package dependencies and the conda solver, see `,_jsx(_components.a,{href:`/getting-started/concepts/what-is-a-dependency`,children:`What is a dependency?`}),` and `,_jsx(_components.a,{href:`/getting-started/concepts/what-is-the-solver`,children:`What is the solver?`})]}),`\n`,_jsx(Heading,{level:`2`,id:`direct-dependency-conflict`,children:`Direct dependency conflict`}),`\n`,_jsxs(_components.p,{children:[`Imagine you have an environment that you know will require Python 3.10, but you also want to install `,_jsx(_components.code,{children:`package-a`}),` into that environment. You decide to specify version 2.0 of `,_jsx(_components.code,{children:`package-a`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The only problem is, `,_jsx(_components.code,{children:`package-a`}),` 2.0 requires Python 3.11 or later (`,_jsx(_components.code,{children:`>=3.11`}),`) and doesn’t have any backwards compatibility built into its version requirements.`]}),`\n`,_jsxs(_components.p,{children:[`If you try to install `,_jsx(_components.code,{children:`python`}),` and `,_jsx(_components.code,{children:`package-a`}),` into an environment with these exact requirements:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` solver-error-environment`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.10`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` package-a=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.0`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You will get an error like the following:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`LibMambaUnsatisfiableError:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Encountered`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` problems`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` while`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` solving:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` -`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` package`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` package-a-2.0-py311`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` requires`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`=3.11,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` but`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` none`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` of`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` the`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` can`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` be`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` installed`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This error tells you that `,_jsx(_components.code,{children:`package-a`}),` requires `,_jsx(_components.code,{children:`python`}),` greater than or equal to version 3.11, but something is blocking that version from being installed.`]}),`\n`,_jsx(Heading,{level:`3`,id:`solving-the-version-conflict`,children:`Solving the version conflict`}),`\n`,_jsx(_components.p,{children:`There are several strategies you can use to resolve a dependency version conflict.`}),`\n`,_jsx(Heading,{level:`4`,id:`create-different-environments`,children:`Create different environments`}),`\n`,_jsxs(_components.p,{children:[`The safest approach is to create separate conda environments for conflicting packages. Based on the example above, ask yourself “If I need Python 3.10 in this environment, can I put `,_jsx(_components.code,{children:`package-a`}),` in a different environment?”`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create an environment for Python 3.10`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python-env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.10`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create a separate environment for package-a`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` second-env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` package-a=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.0`})]}),`\n`]})})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Dependency resolution failures don’t always happen because of version incompatibilities. Sometimes you might be working with repositories where packages have been filtered out; for example, if you are using conda with a local package `,_jsx(Tooltip,{tip:`Any storage location from which software or software assets, like packages, can be retrieved and installed on a local computer.`,children:`repository`}),` where packages have been filtered out for security or licensing reasons.`]}),_jsx(_components.p,{children:`In cases like these, sometimes there is no way to install a set of packages together with specific version constraints, even when using separate environments.`})]}),`\n`,_jsx(Heading,{level:`4`,id:`only-pin-packages-that-require-it`,children:`Only pin packages that require it`}),`\n`,_jsxs(_components.p,{children:[`If specifying (or pinning) a version for `,_jsx(_components.code,{children:`package-a`}),` along with `,_jsx(_components.code,{children:`python`}),` is leading to solver errors, try only giving conda the name `,_jsx(_components.code,{children:`package-a`}),` and no version number. This will give conda’s solver more options to evaluate.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create an environment with only Python pinned`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python-env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.10`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` package-a`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Since you haven’t specified a version number for `,_jsx(_components.code,{children:`package-a`}),`, conda will attempt to find the latest possible version that works with Python 3.10.`]}),`\n`,_jsx(Heading,{level:`4`,id:`specify-package-ranges`,children:`Specify package ranges`}),`\n`,_jsxs(_components.p,{children:[`If you want more control over `,_jsx(_components.code,{children:`package-a`}),`’s version, try specifying a version range for `,_jsx(_components.code,{children:`package-a`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`When specifying a version range (with `,_jsx(_components.code,{children:`\u003c`}),`, `,_jsx(_components.code,{children:`\u003c=`}),`, `,_jsx(_components.code,{children:`>`}),`, or `,_jsx(_components.code,{children:`>=`}),`), make sure you surround that part of the command in quotes.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create an environment with only Python pinned`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python-env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` python=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3.10`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"package-a\u003c2.0\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Since you’ve specified a version less than 2.0 for `,_jsx(_components.code,{children:`package-a`}),`, conda will attempt to find a version older than 2.0 that works with Python 3.10.`]}),`\n`,_jsx(Heading,{level:`2`,id:`transitive-dependency-conflict`,children:`Transitive dependency conflict`}),`\n`,_jsxs(_components.p,{children:[`Because packages often depend on several other packages, which in turn often depend on other packages, another conflict type you will likely see is a `,_jsx(_components.em,{children:`transitive dependency conflict`}),`. Transitive dependencies occur when one package depends on another, which in turn depends on a third package. For example:`]}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n id1[Package A] --> id2[Package B] --> id3[Package C]`}),`\n`,_jsx(_components.p,{children:`In the above scenario, Package A depends on Package B and Package B depends on Package C. This makes Package C a transitive dependency of Package A.`}),`\n`,_jsx(_components.p,{children:`Let’s say you want to install Package A and another package, Package D, into the same environment. Package D requires version 3.5 of Package C. For the version of Package A that you want to install, its dependency, Package B, requires version 4.0 or higher of Package C. This is an example of a transitive dependency conflict. Package A doesn’t conflict with Package D directly, but one of its dependencies does.`}),`\n`,_jsxs(_components.p,{children:[`Try one of the strategies suggested for `,_jsx(_components.a,{href:`#solving-the-version-conflict`,children:`solving the direct dependency conflict`}),`. Transitive dependency conflicts can be more complex to solve because the conflicting package or packages might not be directly connected to the package you’re trying to install.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Managing solver errors","keywords":["conda","packages","conflicts","dependencies","solver","errors","resolution","compatibility","environment"],"searchDescription":"Guide to resolving conda package dependency conflicts and solver errors.","description":null,"href":"/getting-started/working-with-conda/packages/solver-errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Direct dependency conflict","slug":"direct-dependency-conflict","depth":2,"children":[{"title":"Solving the version conflict","slug":"solving-the-version-conflict","depth":3,"children":[]},{"title":"Create different environments","slug":"create-different-environments","depth":4,"children":[]},{"title":"Only pin packages that require it","slug":"only-pin-packages-that-require-it","depth":4,"children":[]},{"title":"Specify package ranges","slug":"specify-package-ranges","depth":4,"children":[]}]},{"title":"Transitive dependency conflict","slug":"transitive-dependency-conflict","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/anaconda-29683c67/b738e1eb47e9934c/_transcend.js","/docs/_mintlify/custom/anaconda-29683c67/3ca111da84ffed5d/docs-dropdown-tooltip.js","/docs/_mintlify/custom/anaconda-29683c67/a3d1c2dd97aa6593/toc-indicator.js"],"subdomain":"anaconda-29683c67","siteName":"Anaconda","title":"Managing solver errors - Anaconda","contextualStarterQuestions":[{"_id":"6ada7add1864d9f201473f54","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"Should I use separate environments?","status":"active","generatedBy":"contextual","path":"getting-started/working-with-conda/packages/solver-errors","createdAt":"2026-10-22T21:06:37.522Z","updatedAt":"2026-10-22T21:06:37.522Z","__v":0},{"_id":"6ada7add1864d9f201473f53","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"How do I fix version conflicts?","status":"active","generatedBy":"contextual","path":"getting-started/working-with-conda/packages/solver-errors","createdAt":"2026-10-22T21:06:37.522Z","updatedAt":"2026-10-22T21:06:37.522Z","__v":0},{"_id":"6ada7add1864d9f201473f52","deploymentId":"6781700c5f1e7d2ac00fcc4a","questionText":"What causes solver errors?","status":"active","generatedBy":"contextual","path":"getting-started/working-with-conda/packages/solver-errors","createdAt":"2026-10-22T21:06:37.522Z","updatedAt":"2026-10-22T21:06:37.522Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T21:02:36.397Z","originalFileLocation":"getting-started/working-with-conda/packages/solver-errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Anaconda\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Managing solver errors - Anaconda\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anaconda\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anaconda-29683c67.mintlify.app/_mintlify/api/og/v2?division=Packages\u0026amp;title=Managing+solver+errors\u0026amp;theme=a631e829865976b88c6af112\u0026amp;signature=73ff33f6aa1c24fd64abc05cafaeef6186b730a3b845372a484919dfbb38ea84\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Managing solver errors - Anaconda\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anaconda-29683c67.mintlify.app/_mintlify/api/og/v2?division=Packages\u0026amp;title=Managing+solver+errors\u0026amp;theme=a631e829865976b88c6af112\u0026amp;signature=73ff33f6aa1c24fd64abc05cafaeef6186b730a3b845372a484919dfbb38ea84\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/anaconda-29683c67/Q6mS5k5M0lNdBscF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anaconda\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d6cf7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/getting-started/working-with-conda/packages/solver-errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.anaconda.com/#organization\",\"name\":\"Anaconda\",\"url\":\"https://www.anaconda.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anaconda-29683c67/s-9WR15r5rZoaPqb/logo/light.svg?fit=max\u0026auto=format\u0026n=s-9WR15r5rZoaPqb\u0026q=85\u0026s=5996719b8530aaf065dc1ee1f39b2e67\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.anaconda.com/docs#website\",\"name\":\"Anaconda\",\"url\":\"https://www.anaconda.com/docs\",\"publisher\":{\"@id\":\"https://www.anaconda.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors#webpage\",\"url\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors\",\"name\":\"Managing solver errors\",\"dateModified\":\"2026-10-22T21:02:36.397Z\",\"isPartOf\":{\"@id\":\"https://www.anaconda.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Manage your projects\",\"item\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/conda-search\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Packages\",\"item\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/conda-search\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Managing solver errors\",\"item\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors#article\",\"headline\":\"Managing solver errors\",\"name\":\"Managing solver errors\",\"url\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors\",\"mainEntityOfPage\":{\"@id\":\"https://www.anaconda.com/docs/getting-started/working-with-conda/packages/solver-errors#webpage\"},\"dateModified\":\"2026-10-22T21:02:36.397Z\",\"keywords\":\"conda, packages, conflicts, dependencies, solver, errors, resolution, compatibility, environment\",\"publisher\":{\"@id\":\"https://www.anaconda.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.anaconda.com/docs#website\"}}]}\u003c/script>","siteName":"Anaconda","nav":{"global":null,"products":[{"product":"Anaconda Docs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/anaconda-29683c67/images/anaconda-icon.svg","pages":[{"title":"Anaconda Docs","href":"/main"}]},{"product":"Getting Started","icon":"rocket-launch","tabs":[{"tab":"About Anaconda","pages":[{"title":"About Anaconda","href":"/getting-started/main"}]},{"tab":"Installation","pages":[{"title":"Installation","href":"/getting-started/installation"}]},{"tab":"Getting started guides","pages":[{"title":"Getting started guides","href":"/getting-started/guides"}]},{"tab":"Working with conda","groups":[{"group":"Start here","pages":[{"title":"Working with conda","href":"/getting-started/working-with-conda/main"}]},{"group":"Conda fundamentals","pages":[{"group":"Concepts","pages":[{"title":"What is conda?","href":"/getting-started/concepts/what-is-conda"},{"title":"What is a package?","href":"/getting-started/concepts/what-is-a-package"},{"title":"What is an environment?","href":"/getting-started/concepts/what-is-an-environment"},{"title":"What is a channel?","href":"/getting-started/concepts/what-is-a-channel"},{"title":"What is a dependency?","href":"/getting-started/concepts/what-is-a-dependency"},{"title":"What is the solver?","href":"/getting-started/concepts/what-is-the-solver"}]},{"title":"Intro to conda workflows","href":"/getting-started/working-with-conda/conda-intro-tutorial"}]},{"group":"Manage your projects","pages":[{"group":"Packages","pages":[{"title":"Searching for conda packages","href":"/getting-started/working-with-conda/packages/conda-search"},{"title":"Installing conda packages","href":"/getting-started/working-with-conda/packages/install-packages"},{"title":"Updating conda packages","href":"/getting-started/working-with-conda/packages/update-packages"},{"title":"Installing pip packages","description":null,"href":"/getting-started/working-with-conda/packages/pip-install"},{"title":"Managing solver errors","href":"/getting-started/working-with-conda/packages/solver-errors"},{"title":"Configuring a shared package cache","description":null,"href":"/getting-started/working-with-conda/packages/shared-pkg-cache"},{"title":"Using R language with Anaconda","href":"/getting-started/working-with-conda/packages/using-r-language"},{"title":"Working with GPU packages","href":"/getting-started/working-with-conda/packages/gpu-packages"}]},{"title":"Channels","href":"/getting-started/working-with-conda/channels"},{"title":"Environments","href":"/getting-started/working-with-conda/environments"},{"title":"Migrating from win-64 to win-arm64 architecture","sidebarTitle":"Migrating environment platform architecture","href":"/getting-started/working-with-conda/windows-arm-info"},{"title":"Managing Python in your environments","sidebarTitle":"Managing Python","href":"/getting-started/working-with-conda/managing-python"},{"title":"Using Anaconda behind a company proxy","sidebarTitle":"Working behind a proxy","href":"/getting-started/working-with-conda/reference/proxy"},{"title":"Managing Terms of Service on the command line","href":"/getting-started/tos-plugin"},{"title":"Using the main-x channel","href":"/getting-started/main-x"}]},{"group":"Integrations and tools","pages":[{"group":"Integrations","pages":[{"title":"Developing locally for Snowpark with Anaconda packages","sidebarTitle":"Snowflake Snowpark","href":"/getting-started/working-with-conda/integrations/snowflake"},{"title":"Docker","href":"/getting-started/working-with-conda/integrations/docker"},{"title":"Authenticated Docker builds","href":"/getting-started/working-with-conda/integrations/docker-authentication"}]},{"group":"IDE guides","pages":[{"title":"Finding your Anaconda Python interpreter path","href":"/getting-started/working-with-conda/ides/python-path"},{"title":"Visual Studio Code (VS Code)","href":"/getting-started/working-with-conda/ides/vscode"},{"title":"How to open JupyterLab with Miniconda","sidebarTitle":"JupyterLab","href":"/getting-started/working-with-conda/ides/jupyterlab"},{"title":"PyCharm","href":"/getting-started/working-with-conda/ides/pycharm"},{"title":"Spyder","href":"/getting-started/working-with-conda/ides/spyder"}]}]}]}]},{"product":"Anaconda.org","icon":"globe","pages":[{"title":"Anaconda.org","href":"/anaconda-org/key-features"}]},{"product":"Anaconda Desktop","icon":"desktop","pages":[{"title":"Anaconda Desktop","href":"/anaconda-desktop/key-features"}]},{"product":"Package Security Manager","icon":"shield-check","versions":[{"version":"6.8.0"},{"version":"6.7.2"},{"version":"6.7.1"},{"version":"6.7.0"},{"version":"6.6.5"},{"version":"6.6.4"},{"version":"6.6.3"},{"version":"6.6.2"},{"version":"6.6.1"},{"version":"6.6.0"},{"version":"6.5.3"},{"version":"6.5.2"},{"version":"6.5.1"},{"version":"6.4.0"},{"version":"6.3.1"},{"version":"6.3.0"},{"version":"6.2.0"},{"version":"6.1.9"},{"version":"6.1.8"},{"version":"6.1.7"},{"version":"6.1.6"},{"version":"6.1.4"}],"pages":[{"title":"Package Security Manager","href":"/anaconda-platform/main"}]},{"product":"Anaconda Platform","icon":"layer-group","pages":[{"title":"Anaconda Platform","href":"/platform/main"}]},{"product":"Data Science \u0026 AI Workbench","icon":"chart-network","versions":[{"version":"5.9.0"},{"version":"5.8.1"},{"version":"5.8.0"},{"version":"5.7.1"},{"version":"5.7.0"},{"version":"5.6.2"},{"version":"5.6.1"},{"version":"5.6.0"},{"version":"5.5.2"},{"version":"5.5.1"}],"pages":[{"title":"Data Science \u0026 AI Workbench","href":"/data-science/latest/main"}]},{"product":"Anaconda CLI \u0026 MCP","icon":"terminal","pages":[{"title":"Anaconda CLI \u0026 MCP","href":"/cli-reference/anaconda-cli/getting-started"}]},{"product":"Legacy applications","icon":"window-restore","pages":[{"title":"Legacy applications","href":"/legacy/anaconda-navigator/main"}]},{"product":"Reference","icon":"book","pages":[{"title":"Reference","href":"/reference/release-notes"}]},{"product":"Support \u0026 Troubleshooting","icon":"headset","pages":[{"title":"Support \u0026 Troubleshooting","href":"/reference/help-support"}]},{"product":"Repository Managers","hidden":true,"pages":[{"title":"Repository Managers","href":"/repo-managers/main"}]}]},"title":"Managing solver errors - Anaconda","buildId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","deploymentId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","dynamics":[],"chunks":[]}