Comments (12)
Even after I use export PYTHONPATH=path_to_softqlearning:$PYTHONPATH
, it still reports the same error.
from softqlearning.
Are you using python 2 or python 3? You will need python 3.
from softqlearning.
Following instructions of rlllab, I created a Python 3 environment. I am using this environment to run softqlearning
from softqlearning.
To verify the following steps are correct, I have even tried rllabplusplus and can run both rllab and rllab++ correctly,
- install rllab, mujoco and create environment
- export project path to PYTHONPATH
- activate environment and test
from softqlearning.
I see. You don't need to install rllab for this to work. All dependencies are already included in the rllab/
folder (it's slightly customized version of the actual rllab, that's why it is included in this repo). Make sure rllab
refers to the right package.
from softqlearning.
Cool, I will use anaconda to create a new Python 3 environment instead of run this in the rllab environment. Do you mean I need to add path of this rllab/
to PYTHONPATH
?
from softqlearning.
You don't need to add it at all, if you add path to softqlearning root to your PYTHONPATH
. Or you can have PYTHONPATH=.
and run everything from the root.
from softqlearning.
I see, thanks. I can run it in a new python 3 environment after adding PYTHONPATH
. A wield thing is that in rllab3 environment, even after I use export PYTHONPATH=path_to_softqlearning:$PYTHONPATH
, it still can not find the path.
from softqlearning.
Cool. It probably fails because rllab can then be found in two different locations, and python looks into the wrong one which does not have the required module, and it thus fails.
from softqlearning.
I'm having similar problem importing rllab.
- Couldn't import rllab?
- Also could we do, export PYTHONPATH={$PYTHONPATH}:(pwd)
to append path, instead of changing it to pwd
How I have installed:
- created custom_path as "softq"
- cloned rllab, entered rllab and did export pythonpath
- copied all mj files
- cloned softqlearning in the path "softq"
- activated sql and ran the python example command
Any help would be very much appreciated
from softqlearning.
In rllab directory, there is another rllab. Not sure if it is causing the confusion to import
from softqlearning.
If anyone is still looking at this thread use: python3 while creating the environment, it will work.
from softqlearning.
Related Issues (11)
- Recording videos HOT 2
- Suboptimal policy HOT 1
- pywrap_tensorflow error HOT 1
- Pusher Combine HOT 2
- Needs some more work to distribute HOT 1
- Can we have some more examples the are in the blog? HOT 1
- Not using target network for policy HOT 1
- Temperature parameter is not handled properly HOT 5
- change to mujoco 1.5 HOT 1
- action distribution for estimating V HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from softqlearning.