Comments (14)
@tranhoangkhuongvn You're welcome! That's cool! So you install it successfully on macos?
Could I know what is the version of yourboost
? It seems myboost
is the latest version and it has removed theboost_threads
andboost_signals
.
I solved it by installing boost
from source code. But still struggle with some boost problems. Will have a look in the future. Now, I can use it with docker and train it with Ubuntu system.
from football.
If you're sure that you've installed the baselines from git - then go ahead and change the setup.py from football to remove the >=0.1.6 requirement and try again.
from football.
Hi, I remove that baseline req and this error comes up
Running setup.py bdist_wheel for gfootball: finished with status 'error'
I attached here the installation log
install.log
from football.
Seems that the error is:
CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:110 (MESSAGE):
Could NOT find SDL2_image (missing: SDL2_IMAGE_LIBRARIES
SDL2_IMAGE_INCLUDE_DIRS)
Can you check that you've installed all the apt-get packages ? (for example libsdl2-image-dev)
Try running this:
sudo apt-get install git cmake build-essential libgl1-mesa-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libboost-all-dev libdirectfb-dev libst-dev mesa-utils xvfb x11vnc libsqlite3-dev glee-dev libsdl-sge-dev python3-pip
If it still doesn't work: please let me know what version of linux you're running.
from football.
got the same issue. On the official openai baselines, the master branch is 0.1.5. Which branch is for 0.1.6?
from football.
@cyfra I think he uses the macos system. @tranhoangkhuongvn I think you can sovle this problem by using brew install sdl2_image sdl2_ttf sdl2_gfx
, but I was stuck when I was trying to solve boost-python
dependencies. Maybe better to use Docker for this environment?
from football.
@cyfra I think he uses the macos system. @tranhoangkhuongvn I think you can sovle this problem by using
brew install sdl2_image sdl2_ttf sdl2_gfx
, but I was stuck when I was trying to solveboost-python
dependencies. Maybe better to use Docker for this environment?
Thanks for your suggestion @TianhongDai ! Mine is the same, after resolving the SDL2 libraries then hitting the Python boost not found error. I will look into the Docker solution then.
from football.
@tranhoangkhuongvn You're welcome! That's cool! So you install it successfully on macos? Could I know what is the version of your boost
? It seems my boost
is the latest version and it has removed the boost_threads
and boost_signals
.
from football.
@TianhongDai - thanks, I've missed the comment that this is on Mac.
from football.
@cyfra you're welcome
from football.
@tranhoangkhuongvn Can this issue be closed or there's still sth ?
from football.
Hi, the problem is still there, I just change to install using Docker. I don't know if there is any effort to support for Mac install?
from football.
We chatted in the team, and adding a native mac install would be probably too much work, so for now the supported default is Docker. That being said, we're happy to take a pull request that would make it work on Mac directly.
from football.
@kkurach can you please take a look at #106 ?
I was able to successfully compile and install the project on my Macbook Pro, however I'm facing a runtime issue which I'm not entirely sure how to fix.
Also, even if we make this work, do you guys want to officially support OSX
? If the answer is NO then there is no point in investigating the issue I'm facing.
BTW, I will totally understand if you guys do not want to support OSX
because of the level of commitment that i requires or just because there is no real value in it.
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.