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

Can't run the first experiment #409

Open
LuhanMikaelson opened this issue Mar 5, 2024 · 1 comment
Open

Can't run the first experiment #409

LuhanMikaelson opened this issue Mar 5, 2024 · 1 comment

Comments

@LuhanMikaelson
Copy link

I'm trying to set up spinning up on Mac OS M1 (OS: Sonoma 14.3.1). Conda no longer has Python 3.6 in its default channel so I could not configure the env to be Python 3.6. I even tried to set up two versions of Python or use Pyenv to create a virtual env but it didn't work. Every time I try to run an experiment I get
File "/Users/luhan/miniconda3/envs/spinup/lib/python3.11/site-packages/cloudpickle/cloudpickle.py", line 212, in <setcomp> out_names = {names[oparg] for _, oparg in _walk_global_ops(co)} ~~~~~^^^^^^^ IndexError: tuple index out of range
I read about the pickle files. I changed the protocol argument for cloudpickle.dumps however the issue persists.
Is there something I can do or Is it not possible to run these experiments on M1?

@hirodeng
Copy link

maybe try python 3.8

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