Repository: Farama-Foundation/Minigrid (language: python)

Issue:
[Bug Report] ModuleNotFoundError
If you are submitting a bug report, please fill in the following details and use the tag [bug].

I installed the latest version of minigrid according to the README.md file. I have the following problem, could this be caused by the latest rename changes?

**Describe the bug**
(maze) a123@MacBookPro MiniGrid % ./minigrid/manual_control.py
Traceback (most recent call last):
  File "/Users/a123/Documents/codebase/MiniGrid/./minigrid/manual_control.py", line 3, in <module>
    import gym
  File "/opt/homebrew/lib/python3.9/site-packages/gym/__init__.py", line 15, in <module>
    from gym.envs import make, spec, register
  File "/opt/homebrew/lib/python3.9/site-packages/gym/envs/__init__.py", line 5, in <module>
    _load_env_plugins()
  File "/opt/homebrew/lib/python3.9/site-packages/gym/envs/registration.py", line 305, in load_env_plugins
    fn = plugin.load()
  File "/opt/homebrew/lib/python3.9/site-packages/importlib_metadata-4.12.0-py3.9.egg/importlib_metadata/__init__.py", line 203, in load
    module = import_module(match.group('module'))
  File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/Users/a123/Documents/codebase/MiniGrid/minigrid/minigrid.py", line 13, in <module>
    from minigrid.rendering import (
ModuleNotFoundError: No module named 'minigrid.rendering'; 'minigrid' is not a package

**Code example**
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.

**System Info**
Describe the characteristic of your environment:
 * Describe how `minigrid` was installed (pip, docker, source, ...)
 pip install as README
 * What OS/version of Linux you're using. Note that while we will accept PRs to improve Window's support, we do not officially support it.
 MacOS Monterey 12.5.1
 * Python version
 Python 3.9.13

### Checklist

- [ ] I have checked that there is no similar [issue](https://github.com/Farama-Foundation/MiniGrid/issues) in the repo (**required**)


Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index 16dbe2f17..8a83d3aba 100644
--- a/README.md
+++ b/README.md
@@ -94,13 +94,13 @@ pip install -e .
 There is a UI application which allows you to manually control the agent with the arrow keys:
 
 ```
-./minigrid/manual_control.py
+./minigrid/examples/manual_control.py
 ```
 
 The environment being run can be selected with the `--env` option, eg:
 
 ```
-./minigrid/manual_control.py --env MiniGrid-Empty-8x8-v0
+./minigrid/examples/manual_control.py --env MiniGrid-Empty-8x8-v0
 ```
 
 ## Reinforcement Learning
diff --git a/minigrid/benchmark.py b/minigrid/examples/benchmark.py
similarity index 100%
rename from minigrid/benchmark.py
rename to minigrid/examples/benchmark.py
diff --git a/minigrid/manual_control.py b/minigrid/examples/manual_control.py
similarity index 100%
rename from minigrid/manual_control.py
rename to minigrid/examples/manual_control.py


Test patch:
diff --git a/tests/test_scripts.py b/tests/test_scripts.py
index 6aeab16f9..a05050672 100644
--- a/tests/test_scripts.py
+++ b/tests/test_scripts.py
@@ -1,8 +1,8 @@
 import gym
 import numpy as np
 
-from minigrid.benchmark import benchmark
-from minigrid.manual_control import key_handler, reset
+from minigrid.examples.benchmark import benchmark
+from minigrid.examples.manual_control import key_handler, reset
 from minigrid.window import Window