IsaacLab icon indicating copy to clipboard operation
IsaacLab copied to clipboard

[Bug Report] Problem when installing isaaclab

Open nadia-97 opened this issue 9 months ago • 7 comments

If you are submitting a bug report, please fill in the following details and use the tag [bug].

Describe the bug

I am not sure if it is a bug or not. but I am facing this error when installing isaaclab, I tried installing some frameworks separately and that works but this command from the steps to install is giving me an error when installing rl-framework(isaaclab.bat --install :: or "isaaclab.bat -i"):

ERROR: Exception: Traceback (most recent call last): File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_vendor\packaging\requirements.py", line 102, in init req = REQUIREMENT.parseString(requirement_string) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_vendor\pyparsing\util.py", line 256, in _inner return fn(self, *args, **kwargs) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_vendor\pyparsing\core.py", line 1190, in parse_string raise exc.with_traceback(None) pip._vendor.pyparsing.exceptions.ParseException: Expected string_end, found '[' (at char 11), (line:1, col:12)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\cli\req_command.py", line 245, in wrapper return func(self, options, args) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\commands\install.py", line 342, in run reqs = self.get_requirements(args, options, finder, session) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\cli\req_command.py", line 422, in get_requirements req_to_add = install_req_from_editable( File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\req\constructors.py", line 240, in install_req_from_editable parts = parse_req_from_editable(editable_req) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\req\constructors.py", line 209, in parse_req_from_editable name, url, extras_override = parse_editable(editable_req) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\req\constructors.py", line 112, in parse_editable get_requirement("placeholder" + extras.lower()).extras, File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_internal\utils\packaging.py", line 45, in get_requirement return Requirement(req_string) File "C:\Users\xxx\Documents\IsaacLab_isaac_sim\kit\python\lib\site-packages\pip_vendor\packaging\requirements.py", line 104, in init raise InvalidRequirement( pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'[::]'": Expected string_end

  • Commit: [e.g. 8f3b9ca]
  • Isaac Sim Version: 4.5.0
  • OS: Windows 11
  • GPU: RTX Ada 2000
  • CUDA: 12.4
  • GPU Driver: 553.05

nadia-97 avatar Mar 06 '25 07:03 nadia-97

Thanks for posting this. Could you try the commit of the latest version of Isaac Lab? That would be 2.0.2. This may have been fixed. Thanks.

RandomOakForest avatar Mar 06 '25 13:03 RandomOakForest

Hi! Thanks for your reply. I already tried that today but same problem

nadia-97 avatar Mar 06 '25 13:03 nadia-97

hi, i met the same problem。

huhonglei avatar Mar 18 '25 08:03 huhonglei

Following up, we are still unable to reproduce this. Could you share the doc you are following to install this? Thanks.

RandomOakForest avatar Apr 07 '25 20:04 RandomOakForest

Getting the same problem, this is the document I'm following this document: https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/pip_installation.html#installing-isaac-lab

ERROR: Exception: Traceback (most recent call last): File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging\requirements.py", line 36, in init parsed = _parse_requirement(requirement_string) File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging_parser.py", line 62, in parse_requirement return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES)) File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging_parser.py", line 77, in _parse_requirement extras = _parse_extras(tokenizer) File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging_parser.py", line 164, in _parse_extras with tokenizer.enclosing_tokens( File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\contextlib.py", line 142, in exit next(self.gen) File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging_tokenizer.py", line 189, in enclosing_tokens self.raise_syntax_error( File "C:\Users\xxx\miniconda3\envs\env_isaaclab\lib\site-packages\pip_vendor\packaging_tokenizer.py", line 167, in raise_syntax_error raise ParserSyntaxError( pip._vendor.packaging._tokenizer.ParserSyntaxError: Expected matching RIGHT_BRACKET for LEFT_BRACKET, after extras placeholder[::] ~^

Sramez avatar Apr 14 '25 03:04 Sramez

Following up, we are still unable to reproduce this. Could you share the doc you are following to install this? Thanks.

https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/pip_installation.html#installing-isaac-lab I am using this documentation to install as well

nadia-97 avatar Apr 14 '25 07:04 nadia-97

It was a silly mistake! I was running the whole {isaaclab.bat --install :: or "isaaclab.bat -i" } You only need to run isaaclab.bat --install @RandomOakForest I guess you can change the document that when you copy the command only copies isaaclab.bat --install :)

Sramez avatar Apr 15 '25 06:04 Sramez

It was a silly mistake! I was running the whole {isaaclab.bat --install :: or "isaaclab.bat -i" } You only need to run isaaclab.bat --install @RandomOakForest I guess you can change the document that when you copy the command only copies isaaclab.bat --install :)

This is the correct answer for me!!!! Thanks a lot.

Mercy2Green avatar May 07 '25 02:05 Mercy2Green