diff --git a/pom.xml b/pom.xml
index f02800d9e..de9b54e84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -297,14 +297,14 @@
1.18.1
${numpy.version}-${javacpp-presets.version}
- 0.3.7
+ 0.3.9
2020.0
4.2.0
4.2.2
1.79.0
- 1.10.6
+ 1.12.0
0.6.1
- 0.15.5
+ 0.17.1
1.15.2
${tensorflow.version}-${javacpp-presets.version}
diff --git a/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java b/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java
index afeea5f7c..8a402a8ff 100644
--- a/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java
+++ b/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java
@@ -62,7 +62,7 @@ public class GymEnv> implements MDP {
private static PyObject globals;
static {
try {
- Py_SetPath(org.bytedeco.gym.presets.gym.cachePackages());
+ Py_AddPath(org.bytedeco.gym.presets.gym.cachePackages());
program = Py_DecodeLocale(GymEnv.class.getSimpleName(), null);
Py_SetProgramName(program);
Py_Initialize();