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

Run issue #29

Open
fromWRF opened this issue May 8, 2020 · 2 comments
Open

Run issue #29

fromWRF opened this issue May 8, 2020 · 2 comments

Comments

@fromWRF
Copy link

fromWRF commented May 8, 2020

When I run "softlearning run_example_local examples.classifier_rl --n_goal_examples 10 --task=Image48SawyerDoorPullHookEnv-v0 --algorithm VICERAQ --num-samples 5 --n_epochs 30 --active_query_frequency 10" . There is a problem:

**Traceback (most recent call last):

File "/home/wrf/anaconda3/bin/softlearning", line 6, in
from pkg_resources import load_entry_point
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3253, in
@_call_aside
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3237, in _call_aside
f(*args, kwargs)
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3266, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 584, in _build_master
ws.require(requires)
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'softlearning' distribution was not found and is required by the application

@fromWRF
Copy link
Author

fromWRF commented May 8, 2020

(base) wrf@wrf-ThinkPad-E580:~/Documents/Code/reward-learning-rl-master$ softlearning
In terminal, when i input softlearning, I get the following:
**Traceback (most recent call last):
File "/home/wrf/anaconda3/bin/softlearning", line 6, in
from pkg_resources import load_entry_point
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3253, in
@_call_aside
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3237, in _call_aside
f(*args, kwargs)
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 3266, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 584, in _build_master
ws.require(requires)
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/wrf/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'softlearning' distribution was not found and is required by the application

@avisingh599
Copy link
Owner

Can you try doing pip install -e ${REWARD_LEARNING_PATH} path and try again?

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