Open Boscop opened 3 years ago
@Boscop I'm sorry for bothering you. The error messages seems says that two different versions of crate ndarray
are being used. I fixed this bug and pushed the code in issue35
branch. If you have time, please try to use it.
I will release the next version of this library 0.0.4, including this fix and some changes of the interface of API.
Thanks for the quick reply :)
I checked out that branch and reran the example, but now I'm getting a python-related error:
$ cargo run --example random_cartpole
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
Running `target\debug\examples\random_cartpole.exe`
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'D:\\3rdparty\\border\\target\\debug\\examples\\random_cartpole.exe'
sys.base_prefix = 'C:\\Users\\me\\scoop\\apps\\python\\current'
sys.base_exec_prefix = 'C:\\Users\\me\\scoop\\apps\\python\\current'
sys.executable = 'D:\\3rdparty\\border\\target\\debug\\examples\\random_cartpole.exe'
sys.prefix = 'C:\\Users\\me\\scoop\\apps\\python\\current'
sys.exec_prefix = 'C:\\Users\\me\\scoop\\apps\\python\\current'
sys.path = [
'C:\\Users\\me\\scoop\\apps\\python\\current\\python38.zip',
'.\\DLLs',
'.\\lib',
'D:\\3rdparty\\border\\target\\debug\\examples',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00005738 (most recent call first):
<no Python frame>
error: process didn't exit successfully: `target\debug\examples\random_cartpole.exe` (exit code: 1)
Any idea how to make it work? :)
@Boscop I'm sorry for late reply. I don't have windows machine, but these tests did not show any errors on Windows. I think this thread may help you solve the issue.
Thanks for working on this crate, it seems to be the only deep RL crate available. Unfortunately I'm getting errors when trying to build it: