Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue #2

Open
shivanshpatel35 opened this issue May 1, 2024 · 1 comment
Open

Installation Issue #2

shivanshpatel35 opened this issue May 1, 2024 · 1 comment

Comments

@shivanshpatel35
Copy link

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?

@nayariml
Copy link

Hi, I had the same problem and downgraded my numpy version to 1.20.0. In addition, I also had to install a few more unlisted packages with pip to get it to work. Here are the additional packages: pysdf, urdfpy, pyparsing
Finally, I also had to update the distributed package msgpack-python.

I hope I've helped :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants