Skip to content

Installation Issue #2

Open
Open
@shivanshpatel35

Description

@shivanshpatel35

Hi,
I followed the installation instructions as laid down on the README.MD. But eventually the code doesn't run because of the issues.
After installation, first I also had to install open3d. Then I had to install warp-lang. During this, I get the following warnings:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
isaacgymenvs 1.5.1 requires pysdf==0.1.9, which is not installed.
isaacgymenvs 1.5.1 requires pyvirtualdisplay, which is not installed.
isaacgymenvs 1.5.1 requires rl-games>=1.6.0, which is not installed.
isaacgymenvs 1.5.1 requires termcolor, which is not installed.
isaacgymenvs 1.5.1 requires trimesh==3.23.5, which is not installed.
isaacgymenvs 1.5.1 requires urdfpy==0.0.22, which is not installed.
isaacgymenvs 1.5.1 requires gym==0.23.1, but you have gym 0.26.2 which is incompatible.
isaacgymenvs 1.5.1 requires warp-lang==0.10.1, but you have warp-lang 1.0.2 which is incompatible.

After pip installing these, I run the training code.

python scripts/train_pql.py task=AllegroHand

I get the error:

  File "/home/shivanshpatel/work/isaac/isaacgym/python/isaacgym/torch_utils.py", line 135, in <module>
    def get_axis_params(value, axis_idx, x_value=0., dtype=np.float, n_dims=3):
  File "/home/shivanshpatel/anaconda3/envs/pql/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

What are the right versions I should install to run the code successfully?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions