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

How to install dmlab2d on CentOS #7

Open
yqqxyy opened this issue Sep 6, 2023 · 6 comments
Open

How to install dmlab2d on CentOS #7

yqqxyy opened this issue Sep 6, 2023 · 6 comments

Comments

@yqqxyy
Copy link

yqqxyy commented Sep 6, 2023

I tried to setup MeltingPot environment on my lab's server but failed when I run
SYSTEM_VERSION_COMPAT=0 pip install dmlab2d
raising error:
ERROR: Could not find a version that satisfies the requirement dmlab2d (from versions: none) ERROR: No matching distribution found for dmlab2d
The system on server is CentOS Linux release 7.9.2009, and I also tried with my Mac (M1 chips) and the installation succeeded, so I suppose the installation failure should be caused by the system version. I think it would be better if I can run it on server for better GPU resources, is there some method to install dmlab2d on CentOS?

@rstrivedi
Copy link
Owner

Currently dmlab2d only has wheels (and hence pypi exposure) for Linux and MacOS.
You can always build it from scratch for your platform but understandably it is hard to do.
I can ask the dmlab2d maintainers to see if they can get CentOS wheels but cannot promise on this one as that is a separate dependency.
In the meantime, I suggest you to also connect with us on discord where there is another such request related to Windows. So we will post updates there as and if new wheels become available.

@rstrivedi
Copy link
Owner

Update: We are trying to see if we can provide an environment image that is "ready to go" for training with CentOS. I will get back to you once I know the outcome of our efforts.

@yqqxyy
Copy link
Author

yqqxyy commented Sep 9, 2023

Update: We are trying to see if we can provide an environment image that is "ready to go" for training with CentOS. I will get back to you once I know the outcome of our efforts.

Thanks! looking forward to see the CentOS version.

@brenting
Copy link

I am running into the same issue. It also seems that building dmlab2d from source is not possible at the moment:
google-deepmind/lab2d#33

@duenez
Copy link
Collaborator

duenez commented Oct 2, 2023

It is possible, just needs to be done manually. There are instructions in that thread, and some better documentation might be coming soon.

@brenting
Copy link

brenting commented Oct 5, 2023

I managed to build dmlab2d from source for CentOS 7. The build wheels and dockerfile to reproduce can be found here:
https://github.com/brenting/dmlab2d-wheels

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

No branches or pull requests

4 participants