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 Install Package Not Found #24

Closed
ShvetankPrakash opened this issue Oct 5, 2023 · 8 comments
Closed

Conda Install Package Not Found #24

ShvetankPrakash opened this issue Oct 5, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@ShvetankPrakash
Copy link
Collaborator

I am trying to run our step by step here on a fresh VM instance in preparation for tutorial to make sure everything works properly based on our documentation but am getting the following issue:

(base) ~/oss-arch-gym$ conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - torch
  - qhoptim

This may just be an issue with this VM setup since it has worked previously but I am adding this issue to see if it is reproducible by others so we can resolve it if it is.

@ShvetankPrakash ShvetankPrakash added the bug Something isn't working label Oct 5, 2023
@srivatsankrishnan
Copy link
Owner

@nx6xe23 @shreyasgrampurohit I think these were changes that you guys must have added with the Node in the ML-proxy pipeline. Can you fix this please?

@nx6xe23
Copy link
Collaborator

nx6xe23 commented Oct 5, 2023

I have created a new branch environment-lib-fix, where I have added torch and qhoptim in the requirements.txt. Although a new error stating that there are no versions of envlogger found,

image

Changing the python version to 3.10 does not help and changing to 3.11 creates a lot of conflicts.

@srivatsankrishnan
Copy link
Owner

I think this is the issue with MacOS. Envlogger is only supported in linux. Can you test this on a Linux box?
https://github.com/google-deepmind/envlogger#getting-started

@ShvetankPrakash
Copy link
Collaborator Author

ShvetankPrakash commented Oct 8, 2023

I verified a fresh install on a linux machine @srivatsankrishnan works fine 👍 Can you please fo ahead and submit pull request @nx6xe23 ?

@nx6xe23
Copy link
Collaborator

nx6xe23 commented Oct 8, 2023

Created the pull request #32.

@ShvetankPrakash
Copy link
Collaborator Author

Great thanks @nx6xe23 !

There is still one issue though @srivatsankrishnan . Envlogger requries GLIBC version 2.28 but it seems ubuntu package manager latest version is 2.27 (at least for me it is). I could install GLIBC2.28 from source but I don't think this is something we should ask of users. Mariam also ran into this issue. Not sure what you think we should do here @srivatsankrishnan ?

@ShvetankPrakash
Copy link
Collaborator Author

Okay I checked and GLIBC>2.27 is just not available on 18.04 but fine on Ubuntu 20.04 which I think we are saying is minimum version now so this is fine and closing this issue

@ShvetankPrakash
Copy link
Collaborator Author

PR #32 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants