Skip to content

Commit

Permalink
🐛 Fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylark0924 committed Oct 15, 2024
1 parent 3031a95 commit 7c4244c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions rofunc/utils/oslab/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def get_rofunc_path(extra_path=None):
return rofunc_path



def get_elegantrl_path():
"""
Get the path of the elegantrl package.
Expand Down Expand Up @@ -84,6 +83,6 @@ def check_package_exist(package_name: str):
except ImportError:
package_name = package_name.replace("_", "-")

rf.logger.beauty_print(f"{package_name} is not installed, installing {package_name}...", type="warning")
print(f"{package_name} is not installed, installing {package_name}...")
subprocess.check_call([sys.executable, "-m", "pip", "install", package_name])
rf.logger.beauty_print(f"{package_name} is installed successfully!")
print(f"{package_name} is installed successfully!")
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
'networkx',
'dgl',
'trimesh==4.0.5',
'wandb==0.16.2'],
'wandb==0.16.2',
'mujoco',
'lxml'],
python_requires=">=3.7,<3.11",
keywords=['robotics', 'robot learning', 'learning from demonstration', 'reinforcement learning',
'robot manipulation'],
Expand Down

0 comments on commit 7c4244c

Please sign in to comment.