isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
1.89k stars 721 forks source link

[Question] UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 1094: illegal multibyte sequence #779

Open Daniel70-liu opened 1 month ago

Daniel70-liu commented 1 month ago

Verify Isaac Lab installation issues :

I encountered some problems when installing Isaac Lab. When I performed the verification, an error report came out, which made my Isaac sim unable to be opened. If you have the answer, please help me. Thank you.

I use conda virtual environment and python 3.10.14 additionally I installed:

pip install isaacsim==4.1.0.0 --extra-index-url https://pypi.nvidia.com

pip install isaacsim-extscache-physics==4.1.0.0 isaacsim-extscache-kit==4.1.0.0 isaacsim-extscache-kit-sdk==4.1.0.0 --extra-index-url https://pypi.nvidia.com

When I execute: python source\standalone\tutorials\00_sim\create_empty.py , I get the following error...

2024-08-03 08:13:30 [5,121ms] [Error] [carb.scripting-python.plugin] UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 1094: illegal multibyte sequence

2024-08-03 08:13:30 [5,121ms] [Error] [carb.scripting-python.plugin] UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 1094: illegal multibyte sequence

At:
  C:\Users\Daniel\anaconda3\envs\isaaclab\lib\json\__init__.py(293): load
  c:/users/daniel/anaconda3/envs/isaaclab/lib/site-packages/isaacsim/exts/omni.isaac.sensor/omni/isaac/sensor/scripts/menu.py(212): __init__
  c:/users/daniel/anaconda3/envs/isaaclab/lib/site-packages/isaacsim/exts/omni.isaac.sensor/omni/isaac/sensor/scripts/extension.py(37): on_startup
  C:\Users\Daniel\anaconda3\envs\isaaclab\Lib\site-packages\omni\kernel\py\omni\ext\_impl\_internal.py(164): _startup_ext
  C:\Users\Daniel\anaconda3\envs\isaaclab\Lib\site-packages\omni\kernel\py\omni\ext\_impl\_internal.py(224): startup
  C:\Users\Daniel\anaconda3\envs\isaaclab\Lib\site-packages\omni\kernel\py\omni\ext\_impl\_internal.py(328): startup_extension
  PythonExtension.cpp::startup()(2): <module>
  C:\Users\Daniel\anaconda3\envs\isaaclab\Lib\site-packages\isaacsim\exts\omni.isaac.kit\omni\isaac\kit\simulation_app.py(405): _start_app
  C:\Users\Daniel\anaconda3\envs\isaaclab\Lib\site-packages\isaacsim\exts\omni.isaac.kit\omni\isaac\kit\simulation_app.py(199): __init__
  C:\Users\Daniel\IsaacLab\source\extensions\omni.isaac.lab\omni\isaac\lab\app\app_launcher.py(542): _create_app
  C:\Users\Daniel\IsaacLab\source\extensions\omni.isaac.lab\omni\isaac\lab\app\app_launcher.py(113): __init__
  C:\Users\Daniel\IsaacLab\source\standalone\tutorials\00_sim\create_empty.py(29): <module>

2024-08-03 08:13:30 [5,124ms] [Error] [omni.ext.plugin] [ext: omni.isaac.sensor-12.7.1] Failed to startup python extension.

image

Mayankm96 commented 1 month ago

Could you please provide more info about your machine? We are unable to reproduce this error on our end.

Daniel70-liu commented 1 month ago

I first installed Isaac Sim in Omniverse and then installed Isaac Lab using the binary archive. When I perform installation verification, I get the first error and then install: pip install isaacsim==4.1.0.0 --extra-index-url https://pypi.nvidia.com and pip install isaacsim-extscache-physicals== 4.1.0.0 isaacsim-extscache-kit==4.1.0.0 isaacsim-extscache-kit-sdk==4.1.0.0 --extra-index-url https://pypi.nvidia.com, the 'cp950' problem occurs when the verification program is executed again.

image

first error: image

Daniel70-liu commented 1 month ago

My display card driver version is 555.99, the display card is RTX3090, and I use the virtual environment conda.

Everything installed in the conda environment. image image image

QuanyiLi commented 1 month ago

same error. Installed with binary with IsaacSim==4.1.0 on Windows11

gaoboyi commented 2 weeks ago

Could you please provide more info about your machine? We are unable to reproduce this error on our end.

I have the same error,how to solve it?