Skip to content

Fixed simulator imports for local installs - #143

Open
jackkolb wants to merge 1 commit into
xavierpuigf:masterfrom
jackkolb:patch-3
Open

Fixed simulator imports for local installs#143
jackkolb wants to merge 1 commit into
xavierpuigf:masterfrom
jackkolb:patch-3

Conversation

@jackkolb

Copy link
Copy Markdown
Contributor

The Getting Started instructions (http://virtual-home.org/documentation/master/get_started/get_started.html) state to clone the repo and no other installation setup. However, in Python 3.12 (I am unsure about earlier versions) the imports in the Getting Started guide fail (ModuleNotFoundError).

This commit wraps the init.py submodule imports in a try/catch that allows for importing virtualhome modules from parent folders.

The Getting Started instructions (http://virtual-home.org/documentation/master/get_started/get_started.html) state to clone the repo and no other installation setup. However, in Python 3.12 (I am unsure about earlier versions) the imports in the Getting Started guide fail (ModuleNotFoundError).

This commit wraps the __init__.py submodule imports in a try/catch that allows for importing virtualhome modules from parent folders.
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.

1 participant