Giter Club home page Giter Club logo

Comments (8)

vitchyr avatar vitchyr commented on June 20, 2024

Are you importing mujoco_py within the rlkit conda environment as well?
Is this error happening inside a docker image?

from rlkit.

tseyde avatar tseyde commented on June 20, 2024

We are not using the docker image and instead followed these steps:

  1. git clone https://github.com/vitchyr/rlkit.git
  2. cp rlkit/launchers/config_template.py rlkit/launchers/config.py
  3. conda env create -f environment/linux-gpu-env.yml

We are using MuJoCo 1.5 and Ubuntu 16.04.

from rlkit.

vitchyr avatar vitchyr commented on June 20, 2024

What did you run after to get the error? Did you activate the anaconda environment?

from rlkit.

tseyde avatar tseyde commented on June 20, 2024

The error actually occurred in the 3. step. Before that, it failed on the 'swig' and 'patchelf' imports, which were resolved by manual installs. It then failed on the 'glfw' import. Thanks for taking the time!

from rlkit.

richardrl avatar richardrl commented on June 20, 2024

Try removing glfw from the conda yml and install it manually.

from rlkit.

arzate-christian avatar arzate-christian commented on June 20, 2024

Hi guys! I have a similar problem on Ubuntu 19

First, I tried:

  1. git clone https://github.com/vitchyr/rlkit.git
    2 Copy conf.py to config.py
    3 conda env create -f environment/linux-gpu-env.yml (here I got the same error No Module named glfw)

Then, I commented gym[all] from the yml file, and installed all manually (tested, and everything works fine). However, when I try to do:
python /examples/ddpg.py

I got the error no module named 'rlkit' (while using the rlkit conda env). I have tried to manually add the rlkit path to the conda env, but the result is the same.

I don't know what I'm doing wrong. I'd appreciate if you can help me.

Cheers

from rlkit.

richardrl avatar richardrl commented on June 20, 2024

@IwakuraAlise give virtualenv a try

from rlkit.

arzate-christian avatar arzate-christian commented on June 20, 2024

Thanks, Richard!

It worked using virtualenv :)

from rlkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.