Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest how to solve PlatformValidationError #282

Merged
merged 3 commits into from
Nov 15, 2022

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Nov 15, 2022

Closes #281

Example error message:

conda_lock.errors.PlatformValidationError: The lockfile conda-lock.yml does not contain
a solution for the current platform linux-64. The lockfile only contains solutions for
the following platforms: osx-64. In order to add support for linux-64, you must
regenerate the lockfile. Either add the following section to your environment.yml:

platforms:
- linux-64
- osx-64

or add the following arguments to your conda-lock command:

--platform=linux-64 --platform=osx-64

@netlify
Copy link

netlify bot commented Nov 15, 2022

Deploy Preview for conda-lock ready!

Name Link
🔨 Latest commit 38cdaae
🔍 Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/637364f7fb53c80009fbb404
😎 Deploy Preview https://deploy-preview-282--conda-lock.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mariusvniekerk mariusvniekerk merged commit c3bca56 into conda:main Nov 15, 2022
@maresb maresb deleted the improve-platform-validation-error branch November 15, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PlatformValidationError(osx-arm64)
2 participants