diff --git a/.gitignore b/.gitignore index 6850f106..bf077df1 100644 --- a/.gitignore +++ b/.gitignore @@ -167,3 +167,4 @@ cython_debug/ *MJDATA* *MUJOCO_LOG* .DS_Store +stubs \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 455f533e..17d0c8b9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -23,5 +23,6 @@ "--style", ".style.yapf" ], - "cSpell.language": "en,ru" + "cSpell.language": "en,ru", + "python.analysis.stubPath": "stubs", } \ No newline at end of file diff --git a/README.md b/README.md index 15f156d7..678207af 100644 --- a/README.md +++ b/README.md @@ -63,4 +63,9 @@ Next, activate the environment: conda activate simrobs ``` -More information about virtual environments you can find [here](https://docs.anaconda.com/working-with-conda/environments/). +## Fix import visibility + +```bash +pybind11-stubgen mujoco +``` + diff --git a/enviroment.yml b/enviroment.yml index 3c16fbf7..e34ac074 100644 --- a/enviroment.yml +++ b/enviroment.yml @@ -14,4 +14,5 @@ dependencies: - jupyterlab - meshcat - yourdfpy - - mujoco-python-viewer \ No newline at end of file + - mujoco-python-viewer + - pybind11-stubgen \ No newline at end of file