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

Conda fails to solve environment - Windows #150

Open
AnonymousFool opened this issue May 6, 2024 · 5 comments · Fixed by #152
Open

Conda fails to solve environment - Windows #150

AnonymousFool opened this issue May 6, 2024 · 5 comments · Fixed by #152
Assignees

Comments

@AnonymousFool
Copy link

Issue

When setting up the environment for building and executing the notebooks, I encountered a LibMambaUnsatisfiableError due to a conflict in environment.yaml.

Context

I uninstalled anaconda and performed a fresh install. Through the anaconda prompt, I opened the folder containing the local repository and attempted to create a new environment from environment.yaml as described in the README. conda threw an error, deeming the packages nomkl and pytorch incompatible due to pytorch requiring mkl. The full output of the command can be found in a pastebin here.

Workaround

I created an empty environment and manually conda installed each package in environment.yaml except torch and torchvision, which I instead pip installed. I then successfully built and executed the notebooks.

@dhruvbalwada
Copy link
Collaborator

@IamShubhamGupto - do you know some quick way to resolve this?

@IamShubhamGupto IamShubhamGupto self-assigned this May 7, 2024
@IamShubhamGupto
Copy link
Member

Issue

When setting up the environment for building and executing the notebooks, I encountered a LibMambaUnsatisfiableError due to a conflict in environment.yaml.

Context

I uninstalled anaconda and performed a fresh install. Through the anaconda prompt, I opened the folder containing the local repository and attempted to create a new environment from environment.yaml as described in the README. conda threw an error, deeming the packages nomkl and pytorch incompatible due to pytorch requiring mkl. The full output of the command can be found in a pastebin here.

Workaround

I created an empty environment and manually conda installed each package in environment.yaml except torch and torchvision, which I instead pip installed. I then successfully built and executed the notebooks.

Thanks for bringing this up, I'll reproduce the logs and get back. The conda environment is a bit delicate as we wanted it to compile code every time we deploy our website. Since it works there, this should have easy enough solution.

Ill make some changes today

@IamShubhamGupto IamShubhamGupto changed the title Conda fails to solve environment Conda fails to solve environment - Windows May 7, 2024
@IamShubhamGupto
Copy link
Member

@dhruvbalwada do you happen to have a windows machine laying around? Id like to work on that for some time.

Mac install logs -
mac.log

For whatever reason conda on linux and Mac are happy with the current environment.yaml but windows cannot seem to resolve it.

I have a really old windows laptop so it's just taking forever to get anything done. ill look into alternate ways of testing environments until then

IamShubhamGupto added a commit to IamShubhamGupto/L96_demo that referenced this issue May 7, 2024
@IamShubhamGupto
Copy link
Member

@AnonymousFool could you confirm if you were successfully able to download and install pysr on windows ? my Mac and linux systems seems happy again but windows isn't. Might be a localized issue but wanted to check anyway

@dhruvbalwada
Copy link
Collaborator

@AnonymousFool - we have addressed this now. Hopefull it works for you.

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 a pull request may close this issue.

3 participants