EvolutionGym / evogym

A large-scale benchmark for co-optimizing the design and control of soft robots, as seen in NeurIPS 2021.
https://evolutiongym.github.io/
MIT License
193 stars 33 forks source link

Update parallel.py #46

Closed wakasu closed 2 months ago

wakasu commented 2 months ago

need to explicitly import the submodule to mitigate following AttributeError: module 'multiprocessing' has no attribute 'pool'

jagdeepsb commented 2 months ago

Thanks for this contribution. Will test and merge soon!

jagdeepsb commented 2 months ago

@wakasu I'm trying to recreate the error you're seeing. Could you share:

thanks

wakasu commented 2 months ago

Hey, I apologize, but I had to delete the environment I was previously using and I'm unable to replicate the issue in the new environment.

While debugging, I remember coming across the following issue: https://github.com/uqfoundation/multiprocess/issues/45

I can close this issue for now.

jagdeepsb commented 2 months ago

no problem, glad you got it fixed