Comments (7)
Ohhh, I had totally forgotten about that extra environment variable. Good call, and I just checked: it works! I will add a test that re-enables the Julia API test. Thanks for helping with this!
from open_spiel.
Note: I tried updating the versions of Julia and CxxWrap in Project.toml but that didn't seem to work.
from open_spiel.
Note: you should not need to build with python, so you can safely remove -DPython3_EXECUTABLE=python
.. I'm just used to always including it.
from open_spiel.
Got it, I'll look into it soon.
I finally got a workable environment. Still working on it.
from open_spiel.
Here's what I found with a fresh new docker image of tag ubuntu:24.04
:
- The error with
install.sh
can be safely ignored. Because at that time, the openspiel lib is not built yet.
Based on discussions here: https://discourse.julialang.org/t/how-to-disable-automatic-precompilation-of-packages-in-julia-1-6/57053
We can set the JULIA_PKG_PRECOMPILE_AUTO
environment variable to 0
to stop the precompiling here.
open_spiel/open_spiel/scripts/install.sh
Line 219 in 1208f83
- The above line needs to be updated:
- cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 $HOME/packages/julias/julia-1.6.1/lib/julia
+ cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/julias/julia-1.6.1/bin/../lib/julia/libstdc++.so.6
from open_spiel.
Hmm, I retried and I am still getting that CMake error above that it cannot find the configuration file.
There is also nothing in /opt, because the installer is putting it into $HOME/packages/julias like before.
This is on a fresh install of Ubuntu 24.04.
from open_spiel.
Hmm, I retried and I am still getting that CMake error above that it cannot find the configuration file.
So I assume you executed like this?
(venv) lanctot@nitro-exp:~/open_spiel/build$ OPEN_SPIEL_BUILD_WITH_JULIA=ON cmake -DPython3_EXECUTABLE=python -DCMAKE_CXX_COMPILER=clang++ ../open_spiel
Well that is not enough since some extra environment variables needs to be set. See
You can simply execute build_and_run_tests.sh
to build the lib.
There is also nothing in /opt, because the installer is putting it into $HOME/packages/julias like before.
I see, in that case we don't need that modification.
from open_spiel.
Related Issues (20)
- Bug with nox HOT 3
- PPO and selfplay HOT 1
- Regarding the legality of commercially licensed board games HOT 2
- Block dominoes implementation HOT 2
- Adding a new python game HOT 7
- Problem with Python AlphaZero using Keras 3 HOT 6
- Problem with RCFR using Keras 3 HOT 3
- Problem with TF2 version of Deep CFR using Keras 3 HOT 1
- Spades Implementation HOT 12
- Returned Policies and Exploitability HOT 2
- dqn_torch_test build failure HOT 6
- AlphaZero pseudo code available? HOT 2
- developing agents for team dominoes HOT 13
- [Puzzle] N-Queens HOT 7
- Spielviz gives AttributeError: module 'pyspiel' has no attribute 'GameParameter' HOT 28
- Failure in alpha_zero.py HOT 1
- chat_game_base.py prints lots of stuff during testing
- Issue with Downloading OpenSpiel Package via pip HOT 6
- Congestion games via C++ API HOT 3
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 open_spiel.