Git Product home page Git Product logo

Comments (14)

TianhongDai avatar TianhongDai commented on September 23, 2024 1

@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.

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.

cyfra avatar cyfra commented on September 23, 2024

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.

tranhoangkhuongvn avatar tranhoangkhuongvn commented on September 23, 2024

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.

cyfra avatar cyfra commented on September 23, 2024

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.

szho42 avatar szho42 commented on September 23, 2024

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.

TianhongDai avatar TianhongDai commented on September 23, 2024

@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.

tranhoangkhuongvn avatar tranhoangkhuongvn commented on September 23, 2024

@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?

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.

TianhongDai avatar TianhongDai commented on September 23, 2024

@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.

cyfra avatar cyfra commented on September 23, 2024

@TianhongDai - thanks, I've missed the comment that this is on Mac.

from football.

TianhongDai avatar TianhongDai commented on September 23, 2024

@cyfra you're welcome

from football.

kkurach avatar kkurach commented on September 23, 2024

@tranhoangkhuongvn Can this issue be closed or there's still sth ?

from football.

tranhoangkhuongvn avatar tranhoangkhuongvn commented on September 23, 2024

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.

kkurach avatar kkurach commented on September 23, 2024

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.

yoanisgil avatar yoanisgil commented on September 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.