aksub99 / MolDQN-pytorch

A PyTorch Implementation of "Optimization of Molecules via Deep Reinforcement Learning".
MIT License
74 stars 28 forks source link

Unable to Install baselines from using the command #12

Closed sawsimeon closed 3 years ago

sawsimeon commented 3 years ago

Hi,

I follow the instruction from the readme file and I get this error. Is there any workaround to solve it. Thanks in Advance!

pip install "git+https://github.com/openai/baselines.git@master#egg=baselines-0.1.6"
Collecting baselines-0.1.6
  Cloning https://github.com/openai/baselines.git (to revision master) to /tmp/pip-install-70qwyy4h/baselines-0-1-6_6283ec66ddc54949ac7d0692a6886577
  Running command git clone -q https://github.com/openai/baselines.git /tmp/pip-install-70qwyy4h/baselines-0-1-6_6283ec66ddc54949ac7d0692a6886577
  WARNING: Generating metadata for package baselines-0.1.6 produced metadata for project name baselines. Fix your #egg=baselines-0.1.6 fragments.
WARNING: Discarding git+https://github.com/openai/baselines.git@master#egg=baselines-0.1.6. Requested baselines from git+https://github.com/openai/baselines.git@master#egg=baselines-0.1.6 has inconsistent name: filename has 'baselines-0-1-6', but metadata has 'baselines'
ERROR: Could not find a version that satisfies the requirement baselines-0-1-6 (unavailable)
ERROR: No matching distribution found for baselines-0-1-6 (unavailable)
aksub99 commented 3 years ago

Hi @sawsimeon thanks for your question! Can you try pip install "git+https://github.com/openai/baselines.git"? The earlier command was a means to avoid the installation of the proprietary mujoco. But I guess the latest version of baselines doesn't install it by default.

sawsimeon commented 3 years ago

Thanks man. It works like a charm. Great!

aksub99 commented 3 years ago

I've updated the instructions on the README with the latest command.

sawsimeon commented 3 years ago

Cool. Nice work!