Comments (5)
Hey, I saw your comment in the other issue. I don't know if you managed to fix it but here is my answer.
Part of what the command pip install does in this case is to build the gfootball environment. For doing that, it has to call the script build_game_engine.sh, which found in the folder gfootball from the root of the project.
On the line number 18 of that same file, you will find make -j between &&. (&& make -j &&). That line is executing various commands, but we're interested in make in particular. That -j is telling make to build gfootball with parallelism, so it creates various threads to handle the task. The thing is, if a number is not specified after -j then the command will create as many threads as it pleases, quickly consuming the available memory. So, to fix the issue, just add a reasonable number after -j.
from football.
I think you may encounter out of memory
issue in your VM. Just like #49 . Pls increase memory or reduce building thread number according to #49 (comment) .
from football.
Thanks for the response. Can you please tell me where should I put the -j parameter? After I put pip install I can not input anything.
from football.
Thanks for the response! That solved the issue :D
from football.
Fix was just pushed in v1.2 release.
from football.
Related Issues (20)
- Running problem
- How can solve RuntimeError: Dynamic linking causes SDL downgrade! (compiled with version 2.28.3, linked to 2.0.16)? HOT 1
- ImportError: /../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found HOT 3
- Rendering frame by frame (Headless: on a server without desktop)
- error: subprocess-exited-with-error python setup.py egg_info did not run successfully.
- Saving replay by rendering failed
- Football
- Football dates
- ImportError: /lib/x86_64-linux-gnu/libwayland-client.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0 HOT 2
- Colab example HOT 1
- working on small issues
- Error on colab
- Error: signal 11: HOT 2
- Compatibility with Pettingzoo
- Request for gfootball Installation Guide on Red Hat Linux
- Football game
- Football game
- Fotbal
- RuntimeError: This class cannot be instantiated from Python
- Example execution error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from football.