mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-31 18:12:53 +00:00
Update requirement list and add quotes around pip install for macos users (#1001)
This commit is contained in:
@@ -26,7 +26,7 @@ try:
|
||||
from jax import dlpack as jax_dlpack
|
||||
except ImportError:
|
||||
raise DependencyNotInstalled(
|
||||
"Jax is not installed therefore cannot call `torch_to_jax`, run `pip install gymnasium[jax]`"
|
||||
'Jax is not installed therefore cannot call `torch_to_jax`, run `pip install "gymnasium[jax]"`'
|
||||
)
|
||||
|
||||
try:
|
||||
@@ -36,7 +36,7 @@ try:
|
||||
Device = Union[str, torch.device]
|
||||
except ImportError:
|
||||
raise DependencyNotInstalled(
|
||||
"Torch is not installed therefore cannot call `torch_to_jax`, run `pip install torch`"
|
||||
'Torch is not installed therefore cannot call `torch_to_jax`, run `pip install "gymnasium[torch]"`'
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user