pybullet-gym icon indicating copy to clipboard operation
pybullet-gym copied to clipboard

Missing pybullet-gym installation

Open josiahls opened this issue 5 years ago • 5 comments

How do you install pybulletgym?

I installed openai gym, and pybulletgym. But how do I add the environments you have there?

I have attempted pip install pybulletgym, and get nothing

josiahls avatar Jan 24 '19 22:01 josiahls

I think I did not build a package for pybulletgym already (I should maybe do that soon). For now you install it by navigating to the git-cloned repository using your terminal and then installing it using pip install -e .

This will install it from the repository into your pip. Then, check out the examples I have here and try to run it.

Post back if running the example does not work.

benelot avatar Jan 25 '19 15:01 benelot

It may be enough to just run:

pip install git+https://github.com/benelot/pybullet-gym

and then in your python code you can try:

import pybulletgym
env = gym.make("HumanoidPyBulletEnv-v0")

ycps avatar Feb 19 '19 02:02 ycps

Thanks for answering, I should really work on getting a package to pypi for people to install it like other python packages.

On Tue, Feb 19, 2019 at 3:42 AM Yuri [email protected] wrote:

It may be enough to just run:

pip install git+https://github.com/benelot/pybullet-gym

and then in your python code you can try:

import pybulletgym env = gym.make("HumanoidPyBulletEnv-v0")

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/benelot/pybullet-gym/issues/20#issuecomment-464957119, or mute the thread https://github.com/notifications/unsubscribe-auth/AC97q2nPhAgY7sgXIwUCoowAk2u0klGjks5vO2SJgaJpZM4aRzNO .

benelot avatar Feb 19 '19 10:02 benelot

If anybody has time to do this, a PR would be very welcome.

benelot avatar Nov 06 '19 10:11 benelot

Hi, using pip install git+https://github.com/benelot/pybullet-gym or python setup.py install did not put anything in the assets for me.

After testing, I found that after modifying the #36 of setup.py to package_data={'': need_files}, the files in assets can be saved normally.

mantle2048 avatar May 06 '21 13:05 mantle2048