We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12d940 commit 64d05ddCopy full SHA for 64d05dd
pkgs/development/python-modules/rlcard/default.nix
@@ -34,6 +34,15 @@ buildPythonPackage rec {
34
})
35
];
36
37
+ # AttributeError: 'numpy.ndarray' object has no attribute 'tostring'
38
+ # tobytes() has the exact same behavior as tostring()
39
+ postPatch = ''
40
+ substituteInPlace rlcard/agents/cfr_agent.py \
41
+ --replace-fail \
42
+ "state['obs'].tostring()" \
43
+ "state['obs'].tobytes()"
44
+ '';
45
+
46
build-system = [
47
setuptools
48
wheel
0 commit comments