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

Fix python virtual environment setup #242

Merged
merged 2 commits into from
Jun 17, 2021

Conversation

DriesSmit
Copy link
Contributor

@DriesSmit DriesSmit commented Jun 17, 2021

What?

Fixes the bugs that broke a Mava run when using a Python virtual environment.

Why?

Running an example crashes if you only follow the readme instructions for getting Mava running in a local virtual environment. This is because the smac and array2gif modules are still required. Mava now does not crash anymore and these packages are now optional.

How?

Updated the wrapper files with try and except statements to not crash the program when the modules are not found.

Extra

Copy link
Contributor

@KaleabTessera KaleabTessera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DriesSmit 🙌 🙌

@DriesSmit DriesSmit merged commit 777d136 into develop Jun 17, 2021
@DriesSmit DriesSmit deleted the fix/python-virtual-environment-setup branch June 17, 2021 16:25
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

Successfully merging this pull request may close these issues.

2 participants