Steps to reproduce:
Install Isaac Sim 2022.1.1 under Windows
Enter the isaac sim root directory
run python.bat
enter ‘help(“sys”)’
Result:
C:\Users\BrunoVetter\AppData\Local\ov\pkg\isaac_sim-2022.1.1>python.bat
Python 3.7.13 (default, Mar 28 2022, 15:21:59) [MSC v.1912 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
help(“sys”)
‘more’ is not recognized as an internal or external command,
operable program or batch file.
The reason for this is the length of the Windows path:
import os
len(os.environ[“PATH”])
9680
Windows will cause lots of trouble if we try to use environment variables longer than 8191.
Why is the path so long? Look at /mnt/c/Users/BrunoVetter/AppData/Local/ov/pkg/isaac_sim-2022.1.1/site/sitecustomize.py
All extensions’ bin folders are included into the path.
This breaks stuff I want to use in the python session, beginning with help() or using pydoc.
In my opinion this is a bug. Any suggestions for workarounds welcome.
Bruno