-
Notifications
You must be signed in to change notification settings - Fork 801
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
ImportError: cannot import name 'MemmapingPool' #240
Comments
Just open |
Frustratingly, one of my machines (both are Ubuntu 18 and using python 2.7.15) works with Memmapping and another works with Memmaping (different number of p's). Is there a way to make both run successfully using synced files? |
@BarelySentient So you can try to use same version of joblib to solve the problem |
That helps a ton, thank you @AlexZhou1995 !! |
This is terrible. I'd add this just to get around joblib's typo:
|
@ALL please can you help me on how to solve this problem? thanks in advance python maml_examples/maml_trpo_point.py |
@AlexZhou1995 thank you for workaround. Although no PR was proposed, so problem still exists. |
@kvas7andy, A PR seems to be proposed in #241. |
Error message: using seed 3 Traceback (most recent call last): File "/root/rllab/scripts/run_experiment_lite.py", line 137, in <module> run_experiment(sys.argv) File "/root/rllab/scripts/run_experiment_lite.py", line 74, in run_experiment from rllab.sampler import parallel_sampler File "/root/rllab/rllab/sampler/parallel_sampler.py", line 2, in <module> from rllab.sampler.stateful_pool import singleton_pool, SharedGlobal File "/root/rllab/rllab/sampler/stateful_pool.py", line 3, in <module> from joblib.pool import MemmapingPool ImportError: cannot import name 'MemmapingPool' Reference: rll/rllab#240
Hi,
I am getting an error when running the examples:
Traceback (most recent call last): File "rllab/examples/trpo_cartpole.py", line 1, in <module> from rllab.algos.trpo import TRPO File "/home/arun/rbccps/rllab/rllab/algos/trpo.py", line 1, in <module> from rllab.algos.npo import NPO File "/home/arun/rbccps/rllab/rllab/algos/npo.py", line 3, in <module> from rllab.algos.batch_polopt import BatchPolopt File "/home/arun/rbccps/rllab/rllab/algos/batch_polopt.py", line 2, in <module> from rllab.sampler import parallel_sampler File "/home/arun/rbccps/rllab/rllab/sampler/parallel_sampler.py", line 2, in <module> from rllab.sampler.stateful_pool import singleton_pool, SharedGlobal File "/home/arun/rbccps/rllab/rllab/sampler/stateful_pool.py", line 3, in <module> from joblib.pool import MemmapingPool ImportError: cannot import name 'MemmapingPool'
I am running Ubuntu 16.04 and using Python3 to execute the scripts. Please help.
Thanks!
The text was updated successfully, but these errors were encountered: