-
Notifications
You must be signed in to change notification settings - Fork 31
/
conda_setup_tf2.sh
42 lines (26 loc) · 1.14 KB
/
conda_setup_tf2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
conda create -n TF2 python=3.12
conda activate TF2
conda install numpy
conda install scipy
conda install matplotlib
conda install jupyter
conda install scikit-learn
conda install pandas
pip install tqdm
pip install websockets
pip install "tensorflow>=2.16"
pip install grpcio-tools
pip install bottle
pip install flask
pip install flask_cors
pip install gevent
pip install pythonnet
# When running ben on ubuntu 22.04, the following error happens during card play.
#OSError: libboost_thread.so.1.71.0: cannot open shared object file: No such file or directory
#Solution: Recompile the double dummy solver library.
#Recompilation will create a new libdds.so file which you need to copy into the bin folder of ben (overwriting the file which is already there)
#In the compilation process of DDS you may have to install the libboost-thread dependency by running the command
# sudo apt install libboost-thread-dev
# You might also need to install jq if you want to run the automated matches in scripts/match/bidding.
https://jqlang.github.io/jq/download/
Using chocolatey to install is recommended on windows.