URL: https://github.com/d9w/CartesianGeneticProgramming.jl
pkg> add CartesianGeneticProgramming
pkg> add Cambrian
$ julia scripts/gym.jl
gym이 재대로 설치 되지 않은 경우 아래 사이트를 참조하면된다
https://github.com/JuliaML/OpenAIGym.jl
OpenAIGym install
pkg> add “https://github.com/JuliaML/OpenAIGym.jl.git”
julia> ENV["PYTHON"] = "/home/shpark/anaconda3/bin/python"
"/home/shpark/anaconda3/bin/python"
# windows 경우
# C:\Anaconda3\python.exe
julia> import Pkg
julia> Pkg.build("PyCall")
Building Conda ─→ `~/.julia/packages/Conda/3rPhK/deps/build.log`
Building PyCall → `~/.julia/packages/PyCall/BcTLp/deps/build.log`
julia> exit()
(base) shpark@nmt0:~$ julia
julia> using PyCall
[ Info: Precompiling PyCall [438e738f-606a-5dbb-bf0a-cddfbfd45ab0]
julia> gym = pyimport("gym")
PyObject <module 'gym' from '/home/shpark/anaconda3/lib/python3.7/site-packages/gym/__init__.py'>
julia> gym.__version__
"0.17.3"
python 아타리 윈도우즈 인스톨(바이너리)
https://github.com/Kojoley/atari-py/releases
open ai gym install
https://github.com/openai/gym/issues/1726
부가적인 참조
https://ishuca.tistory.com/390
build ArcadeLearningEnvironment 에러 해결방안
http://www.atarimania.com/rom_collection_archive_atari_2600_roms.html에서 Roms.rar 다운로드
MSYS2 다운로드
http://www.msys2.org/
libzstd-1.dll
, is copied as a version-less libzstd.dll
libzstd.dll 를 복사해서 libzstd-1.dll 로 한다
C:\Users\mrcha>cp C:\Anaconda3\Library\bin\libzstd.dll C:\Anaconda3\Library\bin\libzstd-1.dll
C:\Users\mrcha>cp C:\msys64\mingw64\bin\libzstd.dll C:\msys64\mingw64\bin\libzstd-1.dll
아타리
import gym
env = gym.make('SpaceInvaders-v0')
env.reset()
for _ in range(1000):
env.step(env.action_space.sample())
env.render('human')
env.close() # https://github.com/openai/gym/issues/893
핑백: [Julia] CartesianGeneticProgramming package 윈도우 실행시 에러 Fix – Power UP!